	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parport_ax88796_read_control
_parport_ax88796_read_control:          ## @parport_ax88796_read_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_pp_to_drv
	movl	(%rax), %edi
	callq	_readb
	movq	_AX_CPR_STRB@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	movl	$0, %esi
	testl	%eax, (%rdx)
	jne	LBB0_2
## %bb.1:
	movq	_PARPORT_CONTROL_STROBE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
LBB0_2:
	movq	_AX_CPR_ATFD@GOTPCREL(%rip), %rdi
	movl	$0, %edx
	testl	%eax, (%rdi)
	jne	LBB0_4
## %bb.3:
	movq	_PARPORT_CONTROL_AUTOFD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_4:
	orl	%esi, %edx
	movq	_AX_CPR_nINIT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	je	LBB0_6
## %bb.5:
	movq	_PARPORT_CONTROL_INIT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_6:
	orl	%esi, %edx
	movq	_AX_CPR_SLCTIN@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	jne	LBB0_8
## %bb.7:
	movq	_PARPORT_CONTROL_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_8:
	orl	%ecx, %edx
	movzbl	%dl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AX_CPR_STRB,4,2                ## @AX_CPR_STRB
	.comm	_PARPORT_CONTROL_STROBE,4,2     ## @PARPORT_CONTROL_STROBE
	.comm	_AX_CPR_ATFD,4,2                ## @AX_CPR_ATFD
	.comm	_PARPORT_CONTROL_AUTOFD,4,2     ## @PARPORT_CONTROL_AUTOFD
	.comm	_AX_CPR_nINIT,4,2               ## @AX_CPR_nINIT
	.comm	_PARPORT_CONTROL_INIT,4,2       ## @PARPORT_CONTROL_INIT
	.comm	_AX_CPR_SLCTIN,4,2              ## @AX_CPR_SLCTIN
	.comm	_PARPORT_CONTROL_SELECT,4,2     ## @PARPORT_CONTROL_SELECT
	.no_dead_strip	_parport_ax88796_read_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parport_ax88796_read_control
_parport_ax88796_read_control:          ; @parport_ax88796_read_control
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_pp_to_drv
	ldr	w0, [x0]
	bl	_readb
Lloh0:
	adrp	x8, _AX_CPR_STRB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AX_CPR_STRB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PARPORT_CONTROL_STROBE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PARPORT_CONTROL_STROBE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, w9, wzr, eq
Lloh6:
	adrp	x9, _AX_CPR_ATFD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AX_CPR_ATFD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _PARPORT_CONTROL_AUTOFD@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PARPORT_CONTROL_AUTOFD@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, w10, wzr, eq
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _AX_CPR_nINIT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AX_CPR_nINIT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _PARPORT_CONTROL_INIT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PARPORT_CONTROL_INIT@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _AX_CPR_SLCTIN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AX_CPR_SLCTIN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _PARPORT_CONTROL_SELECT@GOTPAGE
Lloh22:
	ldr	x10, [x10, _PARPORT_CONTROL_SELECT@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, w10, wzr, eq
	orr	w8, w8, w9
	and	w0, w8, #0xff
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AX_CPR_STRB,4,2                ; @AX_CPR_STRB
	.comm	_PARPORT_CONTROL_STROBE,4,2     ; @PARPORT_CONTROL_STROBE
	.comm	_AX_CPR_ATFD,4,2                ; @AX_CPR_ATFD
	.comm	_PARPORT_CONTROL_AUTOFD,4,2     ; @PARPORT_CONTROL_AUTOFD
	.comm	_AX_CPR_nINIT,4,2               ; @AX_CPR_nINIT
	.comm	_PARPORT_CONTROL_INIT,4,2       ; @PARPORT_CONTROL_INIT
	.comm	_AX_CPR_SLCTIN,4,2              ; @AX_CPR_SLCTIN
	.comm	_PARPORT_CONTROL_SELECT,4,2     ; @PARPORT_CONTROL_SELECT
	.no_dead_strip	_parport_ax88796_read_control
.subsections_via_symbols
