	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in_byte_rtc
_in_byte_rtc:                           ## @in_byte_rtc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_PLD_RTCRSTODT@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movl	$1, %edi
	callq	_outw
	movzbl	%bl, %edi
	movq	_PLD_RTCRDDATA@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	callq	_outw
	movq	_PLD_RTCCR@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movl	$1, %edi
	callq	_outw
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_inw
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	(%r15), %rdi
	callq	_inw
	movl	%eax, %ebx
	movq	(%r14), %rsi
	xorl	%edi, %edi
	callq	_outw
	movzbl	%bh, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLD_RTCRSTODT,8,3              ## @PLD_RTCRSTODT
	.comm	_PLD_RTCRDDATA,8,3              ## @PLD_RTCRDDATA
	.comm	_PLD_RTCCR,8,3                  ## @PLD_RTCCR
	.no_dead_strip	_in_byte_rtc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in_byte_rtc
_in_byte_rtc:                           ; @in_byte_rtc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _PLD_RTCRSTODT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PLD_RTCRSTODT@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	w0, #1
	bl	_outw
	and	w0, w19, #0xff
Lloh2:
	adrp	x19, _PLD_RTCRDDATA@GOTPAGE
Lloh3:
	ldr	x19, [x19, _PLD_RTCRDDATA@GOTPAGEOFF]
	ldr	x1, [x19]
	bl	_outw
Lloh4:
	adrp	x21, _PLD_RTCCR@GOTPAGE
Lloh5:
	ldr	x21, [x21, _PLD_RTCCR@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	w0, #1
	bl	_outw
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	bl	_inw
	cbnz	w0, LBB0_1
; %bb.2:
	ldr	x0, [x19]
	bl	_inw
	mov	x19, x0
	ldr	x1, [x20]
	mov	w0, #0
	bl	_outw
	ubfx	w0, w19, #8, #8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PLD_RTCRSTODT,8,3              ; @PLD_RTCRSTODT
	.comm	_PLD_RTCRDDATA,8,3              ; @PLD_RTCRDDATA
	.comm	_PLD_RTCCR,8,3                  ; @PLD_RTCCR
	.no_dead_strip	_in_byte_rtc
.subsections_via_symbols
