	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __getrtc
___getrtc:                              ## @__getrtc
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_EXI_CHANNEL_0@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_EXI_DEVICE_1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_EXI_Lock
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	(%r15), %edi
	movl	(%r12), %esi
	movq	_EXI_SPEED8MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_EXI_Select
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	$0, -48(%rbp)
	movl	$536870912, -52(%rbp)           ## imm = 0x20000000
	movl	(%r15), %edi
	movq	_EXI_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-52(%rbp), %rsi
	movl	$4, %edx
	xorl	%r8d, %r8d
	callq	_EXI_Imm
	testq	%rax, %rax
	setne	-42(%rbp)                       ## 1-byte Folded Spill
	movl	(%r15), %edi
	callq	_EXI_Sync
	testq	%rax, %rax
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	movl	(%r15), %edi
	movq	_EXI_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movl	$4, %edx
	xorl	%r8d, %r8d
	callq	_EXI_Imm
	testq	%rax, %rax
	setne	%bl
	movl	(%r15), %edi
	callq	_EXI_Sync
	testq	%rax, %rax
	setne	%r12b
	movl	(%r15), %edi
	callq	_EXI_Deselect
	testq	%rax, %rax
	setne	%r13b
	movl	(%r15), %edi
	callq	_EXI_Unlock
	movl	-48(%rbp), %eax
	movl	%eax, (%r14)
	andb	%r12b, %r13b
	andb	-41(%rbp), %bl                  ## 1-byte Folded Reload
	andb	%r13b, %bl
	andb	-42(%rbp), %bl                  ## 1-byte Folded Reload
	movzbl	%bl, %ebx
	jmp	LBB0_4
LBB0_2:
	movl	(%r15), %edi
	callq	_EXI_Unlock
LBB0_4:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXI_CHANNEL_0,4,2              ## @EXI_CHANNEL_0
	.comm	_EXI_DEVICE_1,4,2               ## @EXI_DEVICE_1
	.comm	_EXI_SPEED8MHZ,4,2              ## @EXI_SPEED8MHZ
	.comm	_EXI_WRITE,4,2                  ## @EXI_WRITE
	.comm	_EXI_READ,4,2                   ## @EXI_READ
	.no_dead_strip	___getrtc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __getrtc
___getrtc:                              ; @__getrtc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x25, _EXI_CHANNEL_0@GOTPAGE
Lloh1:
	ldr	x25, [x25, _EXI_CHANNEL_0@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x20, _EXI_DEVICE_1@GOTPAGE
Lloh3:
	ldr	x20, [x20, _EXI_DEVICE_1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x2, #0
	bl	_EXI_Lock
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w0, [x25]
	ldr	w1, [x20]
Lloh4:
	adrp	x8, _EXI_SPEED8MHZ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EXI_SPEED8MHZ@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_EXI_Select
	cbz	x0, LBB0_3
; %bb.2:
	mov	w8, #536870912
	stp	wzr, w8, [sp, #8]
	ldr	w0, [x25]
Lloh7:
	adrp	x8, _EXI_WRITE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXI_WRITE@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	add	x1, sp, #12
	mov	w2, #4
	mov	x4, #0
	bl	_EXI_Imm
	mov	x20, x0
	ldr	w0, [x25]
	bl	_EXI_Sync
	mov	x21, x0
	ldr	w0, [x25]
Lloh10:
	adrp	x8, _EXI_READ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EXI_READ@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	w2, #4
	mov	x4, #0
	bl	_EXI_Imm
	mov	x22, x0
	ldr	w0, [x25]
	bl	_EXI_Sync
	mov	x23, x0
	ldr	w0, [x25]
	bl	_EXI_Deselect
	mov	x24, x0
	ldr	w0, [x25]
	bl	_EXI_Unlock
	cmp	x24, #0
	ldr	w8, [sp, #8]
	str	w8, [x19]
	ccmp	x23, #0, #4, ne
	ccmp	x22, #0, #4, ne
	ccmp	x21, #0, #4, ne
	ccmp	x20, #0, #4, ne
	cset	w0, ne
	b	LBB0_4
LBB0_3:
	ldr	w0, [x25]
	bl	_EXI_Unlock
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EXI_CHANNEL_0,4,2              ; @EXI_CHANNEL_0
	.comm	_EXI_DEVICE_1,4,2               ; @EXI_DEVICE_1
	.comm	_EXI_SPEED8MHZ,4,2              ; @EXI_SPEED8MHZ
	.comm	_EXI_WRITE,4,2                  ; @EXI_WRITE
	.comm	_EXI_READ,4,2                   ; @EXI_READ
	.no_dead_strip	___getrtc
.subsections_via_symbols
