	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_from_efi_time                  ## -- Begin function from_efi_time
	.p2align	4, 0x90
_from_efi_time:                         ## @from_efi_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-2100, %eax                    ## imm = 0xF7CC
	addl	(%rdi), %eax
	cmpl	$-102, %eax
	jae	LBB0_2
LBB0_1:
	xorl	%eax, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %rbx
	movl	4(%rdi), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_20
## %bb.3:
	cmpl	$12, %ecx
	jg	LBB0_20
## %bb.4:
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.5:
	cmpl	$23, 12(%rbx)
	jg	LBB0_1
## %bb.8:
	cmpl	$59, 16(%rbx)
	jg	LBB0_1
## %bb.10:
	cmpl	$59, 20(%rbx)
	jg	LBB0_1
## %bb.12:
	movl	24(%rbx), %eax
	cmpl	$-1440, %eax                    ## imm = 0xFA60
	jl	LBB0_1
## %bb.14:
	cmpl	$1441, %eax                     ## imm = 0x5A1
	jl	LBB0_17
## %bb.15:
	cmpl	$2047, %eax                     ## imm = 0x7FF
	jne	LBB0_1
LBB0_17:
	movl	$1970, %r14d                    ## imm = 0x7B2
	xorl	%r15d, %r15d
	movq	_CumulativeDays@GOTPCREL(%rip), %r13
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r12
	movl	%r14d, %edi
	callq	_isleap
	movq	(%r12,%rax,8), %rax
	movslq	52(%rax), %rax
	movq	_SECSPERDAY@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	%rax, %rcx
	addq	%rcx, %r15
	incl	%r14d
	cmpl	(%rbx), %r14d
	jne	LBB0_18
## %bb.19:
	movq	(%r13), %r12
	movl	%r14d, %edi
	callq	_isleap
	movq	(%r12,%rax,8), %rax
	movslq	4(%rbx), %rcx
	movslq	(%rax,%rcx,4), %rax
	movq	_SECSPERDAY@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	%rcx, %rax
	addq	%rax, %r15
	movl	8(%rbx), %eax
	movl	24(%rbx), %edx
	leal	-1(%rax), %esi
	xorl	%edi, %edi
	testl	%eax, %eax
	cmovlel	%edi, %esi
	movslq	%esi, %rax
	imulq	%rcx, %rax
	addq	%r15, %rax
	movslq	12(%rbx), %rcx
	movq	_SECSPERHOUR@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	imulq	%rcx, %rsi
	addq	%rax, %rsi
	movslq	16(%rbx), %rax
	imulq	$60, %rax, %rax
	addq	%rsi, %rax
	movslq	20(%rbx), %rcx
	addq	%rax, %rcx
	movq	_EFI_UNSPECIFIED_TIMEZONE@GOTPCREL(%rip), %rax
	imull	$60, %edx, %esi
	cmpl	(%rax), %edx
	cmovel	%edi, %esi
	movslq	%esi, %rax
	addq	%rcx, %rax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_CumulativeDays,8,3             ## @CumulativeDays
	.comm	_SECSPERDAY,4,2                 ## @SECSPERDAY
	.comm	_SECSPERHOUR,4,2                ## @SECSPERHOUR
	.comm	_EFI_UNSPECIFIED_TIMEZONE,4,2   ## @EFI_UNSPECIFIED_TIMEZONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_from_efi_time                  ; -- Begin function from_efi_time
	.p2align	2
_from_efi_time:                         ; @from_efi_time
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
	sub	w8, w8, #2100
	cmn	w8, #102
	b.lo	LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #4]
	cmp	w8, #0
	ccmp	w8, #12, #0, ne
	b.gt	LBB0_9
; %bb.2:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_9
; %bb.3:
	ldr	w8, [x19, #12]
	cmp	w8, #23
	b.gt	LBB0_9
; %bb.4:
	ldr	w8, [x19, #16]
	cmp	w8, #59
	b.gt	LBB0_9
; %bb.5:
	ldr	w8, [x19, #20]
	cmp	w8, #59
	b.gt	LBB0_9
; %bb.6:
	ldr	w8, [x19, #24]
	cmn	w8, #1440
	b.lt	LBB0_9
; %bb.7:
	cmp	w8, #1441
	b.lt	LBB0_11
; %bb.8:
	cmp	w8, #2047
	b.eq	LBB0_11
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x21, #0
	mov	w20, #1970
Lloh0:
	adrp	x23, _CumulativeDays@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CumulativeDays@GOTPAGEOFF]
Lloh2:
	adrp	x22, _SECSPERDAY@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SECSPERDAY@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x23]
	mov	x0, x20
	bl	_isleap
	ldr	x8, [x24, x0, lsl #3]
	ldrsw	x8, [x8, #52]
	ldrsw	x9, [x22]
	madd	x21, x9, x8, x21
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.ne	LBB0_12
; %bb.13:
	ldr	x23, [x23]
	mov	x0, x20
	bl	_isleap
	ldr	x8, [x23, x0, lsl #3]
	ldp	w9, w10, [x19, #4]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	ldrsw	x8, [x8, x9, lsl #2]
	ldrsw	x9, [x22]
	madd	x8, x9, x8, x21
	sub	w11, w10, #1
	cmp	w10, #0
	csel	w10, w11, wzr, gt
	sxtw	x10, w10
	madd	x8, x10, x9, x8
Lloh4:
	adrp	x9, _SECSPERHOUR@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SECSPERHOUR@GOTPAGEOFF]
Lloh6:
	ldrsw	x9, [x9]
	ldpsw	x10, x11, [x19, #12]
	madd	x8, x9, x10, x8
	mov	w9, #60
	madd	x8, x11, x9, x8
	ldp	w10, w11, [x19, #20]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
Lloh7:
	adrp	x12, _EFI_UNSPECIFIED_TIMEZONE@GOTPAGE
Lloh8:
	ldr	x12, [x12, _EFI_UNSPECIFIED_TIMEZONE@GOTPAGEOFF]
	add	x8, x8, x10
Lloh9:
	ldr	w10, [x12]
	mul	w9, w11, w9
	cmp	w11, w10
	csel	w9, wzr, w9, eq
	add	x0, x8, w9, sxtw
	b	LBB0_10
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CumulativeDays,8,3             ; @CumulativeDays
	.comm	_SECSPERDAY,4,2                 ; @SECSPERDAY
	.comm	_SECSPERHOUR,4,2                ; @SECSPERHOUR
	.comm	_EFI_UNSPECIFIED_TIMEZONE,4,2   ; @EFI_UNSPECIFIED_TIMEZONE
.subsections_via_symbols
