	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parport_ax88796_read_status
_parport_ax88796_read_status:           ## @parport_ax88796_read_status
	.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_SPR_BUSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	je	LBB0_2
## %bb.1:
	movq	_PARPORT_STATUS_BUSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_2:
	movq	_AX_SPR_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	movq	_PARPORT_STATUS_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	movq	_AX_SPR_ERR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	je	LBB0_6
## %bb.5:
	movq	_PARPORT_STATUS_ERROR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_6:
	orl	%edx, %ecx
	movq	_AX_SPR_SLCT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	je	LBB0_8
## %bb.7:
	movq	_PARPORT_STATUS_SELECT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_8:
	orl	%edx, %esi
	orl	%esi, %ecx
	movq	_AX_SPR_PE@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	je	LBB0_10
## %bb.9:
	movq	_PARPORT_STATUS_PAPEROUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	orl	%eax, %ecx
	movzbl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AX_SPR_BUSY,4,2                ## @AX_SPR_BUSY
	.comm	_PARPORT_STATUS_BUSY,4,2        ## @PARPORT_STATUS_BUSY
	.comm	_AX_SPR_ACK,4,2                 ## @AX_SPR_ACK
	.comm	_PARPORT_STATUS_ACK,4,2         ## @PARPORT_STATUS_ACK
	.comm	_AX_SPR_ERR,4,2                 ## @AX_SPR_ERR
	.comm	_PARPORT_STATUS_ERROR,4,2       ## @PARPORT_STATUS_ERROR
	.comm	_AX_SPR_SLCT,4,2                ## @AX_SPR_SLCT
	.comm	_PARPORT_STATUS_SELECT,4,2      ## @PARPORT_STATUS_SELECT
	.comm	_AX_SPR_PE,4,2                  ## @AX_SPR_PE
	.comm	_PARPORT_STATUS_PAPEROUT,4,2    ## @PARPORT_STATUS_PAPEROUT
	.no_dead_strip	_parport_ax88796_read_status
.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_status
_parport_ax88796_read_status:           ; @parport_ax88796_read_status
	.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_SPR_BUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AX_SPR_BUSY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PARPORT_STATUS_BUSY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PARPORT_STATUS_BUSY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _AX_SPR_ACK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AX_SPR_ACK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _PARPORT_STATUS_ACK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PARPORT_STATUS_ACK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _AX_SPR_ERR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AX_SPR_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _PARPORT_STATUS_ERROR@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PARPORT_STATUS_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _AX_SPR_SLCT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AX_SPR_SLCT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _PARPORT_STATUS_SELECT@GOTPAGE
Lloh22:
	ldr	x10, [x10, _PARPORT_STATUS_SELECT@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _AX_SPR_PE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AX_SPR_PE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _PARPORT_STATUS_PAPEROUT@GOTPAGE
Lloh28:
	ldr	x10, [x10, _PARPORT_STATUS_PAPEROUT@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
	and	w0, w8, #0xff
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AX_SPR_BUSY,4,2                ; @AX_SPR_BUSY
	.comm	_PARPORT_STATUS_BUSY,4,2        ; @PARPORT_STATUS_BUSY
	.comm	_AX_SPR_ACK,4,2                 ; @AX_SPR_ACK
	.comm	_PARPORT_STATUS_ACK,4,2         ; @PARPORT_STATUS_ACK
	.comm	_AX_SPR_ERR,4,2                 ; @AX_SPR_ERR
	.comm	_PARPORT_STATUS_ERROR,4,2       ; @PARPORT_STATUS_ERROR
	.comm	_AX_SPR_SLCT,4,2                ; @AX_SPR_SLCT
	.comm	_PARPORT_STATUS_SELECT,4,2      ; @PARPORT_STATUS_SELECT
	.comm	_AX_SPR_PE,4,2                  ; @AX_SPR_PE
	.comm	_PARPORT_STATUS_PAPEROUT,4,2    ; @PARPORT_STATUS_PAPEROUT
	.no_dead_strip	_parport_ax88796_read_status
.subsections_via_symbols
