	.file	"extr_misc.c_mac_hwclk.c"
	.intel_syntax noprefix
	.text
	.section	.text.unlikely,"ax",@progbits
.LCOLDB0:
	.text
.LHOTB0:
	.p2align 4
	.globl	mac_hwclk
	.type	mac_hwclk, @function
mac_hwclk:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rsi
	test	edi, edi
	jne	.L2
	mov	rax, QWORD PTR macintosh_config[rip]
	mov	eax, DWORD PTR [rax]
	add	eax, -128
	cmp	eax, 5
	ja	.L15
	lea	rdx, .L5[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L8-.L5
	.long	.L8-.L5
	.long	.L6-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR 16[rsi]
	mov	edx, DWORD PTR 12[rsi]
	mov	ecx, DWORD PTR 8[rsi]
	mov	r9d, DWORD PTR [rbx]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR 20[rbx]
	mov	r8d, DWORD PTR 4[rbx]
	lea	edi, 1900[rax]
	call	mktime@PLT
	mov	rdi, rax
	mov	rax, QWORD PTR macintosh_config[rip]
	mov	edx, DWORD PTR [rax]
	add	edx, -128
	cmp	edx, 5
	ja	.L9
	lea	rax, .L11[rip]
	movsx	rdx, DWORD PTR [rax+rdx*4]
	add	rdx, rax
	notrack jmp	rdx
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L14-.L11
	.long	.L14-.L11
	.long	.L12-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L10-.L11
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	call	via_read_time@PLT
	mov	rdi, rax
.L3:
	lea	rax, 4[rbx]
	push	rbx
	.cfi_def_cfa_offset 24
	lea	rdx, 20[rbx]
	xor	esi, esi
	push	rax
	.cfi_def_cfa_offset 32
	lea	rcx, 16[rbx]
	lea	r9, 8[rbx]
	mov	QWORD PTR 24[rbx], 0
	lea	r8, 12[rbx]
	call	unmktime@PLT
	pop	rax
	.cfi_def_cfa_offset 24
	pop	rdx
	.cfi_def_cfa_offset 16
.L9:
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	eax, eax
	call	pmu_read_time@PLT
	mov	rdi, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	call	cuda_read_time@PLT
	mov	rdi, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
	call	maciisi_read_time@PLT
	mov	rdi, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	call	via_write_time@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L14:
	call	pmu_write_time@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	call	cuda_write_time@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L13:
	call	maciisi_write_time@PLT
	jmp	.L9
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	mac_hwclk.cold, @function
mac_hwclk.cold:
.LFSB0:
.L15:
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	edi, edi
	jmp	.L3
	.cfi_endproc
.LFE0:
	.text
	.size	mac_hwclk, .-mac_hwclk
	.section	.text.unlikely
	.size	mac_hwclk.cold, .-mac_hwclk.cold
.LCOLDE0:
	.text
.LHOTE0:
	.comm	macintosh_config,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_misc.c_mac_hwclk.c"
	.text
	.align	2
	.global	mac_hwclk
	.syntax unified
	.arm
	.fpu softvfp
	.type	mac_hwclk, %function
mac_hwclk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	cmp	r0, #0
	mov	r4, r1
	sub	sp, sp, #16
	bne	.L2
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r3, [r3]
	sub	r3, r3, #128
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L15
.L5:
	.word	.L8
	.word	.L8
	.word	.L6
	.word	.L7
	.word	.L6
	.word	.L4
.L2:
	ldr	r0, [r1, #20]
	ldr	r1, [r1, #16]
	ldm	r4, {r2, r3}
	add	r0, r0, #1888
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [r4, #8]
	ldr	r2, [r4, #12]
	add	r0, r0, #12
	add	r1, r1, #1
	bl	mktime
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r3, [r3]
	sub	r3, r3, #128
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L9
.L11:
	.word	.L14
	.word	.L14
	.word	.L12
	.word	.L13
	.word	.L12
	.word	.L10
.L6:
	bl	via_read_time
.L3:
	mov	r1, #0
	add	r2, r4, #8
	add	r3, r4, #12
	add	ip, r4, #4
	str	r4, [sp, #12]
	str	r1, [r4, #24]
	stmib	sp, {r2, ip}
	str	r3, [sp]
	add	r2, r4, #20
	add	r3, r4, #16
	bl	unmktime
.L9:
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L8:
	bl	pmu_read_time
	b	.L3
.L4:
	bl	cuda_read_time
	b	.L3
.L7:
	bl	maciisi_read_time
	b	.L3
.L14:
	bl	pmu_write_time
	b	.L9
.L12:
	bl	via_write_time
	b	.L9
.L13:
	bl	maciisi_write_time
	b	.L9
.L10:
	bl	cuda_write_time
	b	.L9
.L15:
	mov	r0, #0
	b	.L3
.L19:
	.align	2
.L18:
	.word	macintosh_config
	.size	mac_hwclk, .-mac_hwclk
	.comm	macintosh_config,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
