	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parport_poll_pad
_parport_poll_pad:                      ## @parport_poll_pad
	.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
	movq	%rdi, %r14
	movl	16(%rdi), %edi
	movq	_PPRDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-26(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_32
## %bb.1:
	movl	16(%r14), %edi
	movq	_PPRSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-25(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_32
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_BIT32_CLEAR
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	$8, %rbx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-26(%rbp), %r15d
	movl	$1, %edi
	movl	%ebx, %ecx
	shll	%cl, %edi
	callq	_UINT8_C
	testb	%r15b, %al
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_BIT32_SET
	jmp	LBB0_7
LBB0_8:
	movb	-25(%rbp), %bl
	movl	$8, %edi
	callq	_UINT8_C
	testb	%bl, %al
	je	LBB0_9
LBB0_11:
	movl	(%r14), %edi
	movl	$8, %esi
	callq	_BIT32_CLEAR
	jmp	LBB0_12
LBB0_9:
	movq	8(%r14), %rax
	cmpq	$0, 64(%rax)
	je	LBB0_11
## %bb.10:
	movl	(%r14), %edi
	movl	$8, %esi
	callq	_BIT32_SET
LBB0_12:
	movb	-25(%rbp), %bl
	movl	$16, %edi
	callq	_UINT8_C
	testb	%bl, %al
	je	LBB0_13
LBB0_15:
	movl	(%r14), %edi
	movl	$9, %esi
	callq	_BIT32_CLEAR
	jmp	LBB0_16
LBB0_13:
	movq	8(%r14), %rax
	cmpq	$0, 72(%rax)
	je	LBB0_15
## %bb.14:
	movl	(%r14), %edi
	movl	$9, %esi
	callq	_BIT32_SET
LBB0_16:
	movb	-25(%rbp), %bl
	movl	$32, %edi
	callq	_UINT8_C
	testb	%bl, %al
	je	LBB0_17
LBB0_19:
	movl	(%r14), %edi
	movl	$10, %esi
	callq	_BIT32_CLEAR
	jmp	LBB0_20
LBB0_17:
	movq	8(%r14), %rax
	cmpq	$0, 80(%rax)
	je	LBB0_19
## %bb.18:
	movl	(%r14), %edi
	movl	$10, %esi
	callq	_BIT32_SET
LBB0_20:
	movb	-25(%rbp), %bl
	movl	$64, %edi
	callq	_UINT8_C
	testb	%bl, %al
	je	LBB0_21
LBB0_23:
	movl	(%r14), %edi
	movl	$11, %esi
	callq	_BIT32_CLEAR
	jmp	LBB0_24
LBB0_21:
	movq	8(%r14), %rax
	cmpq	$0, 88(%rax)
	je	LBB0_23
## %bb.22:
	movl	(%r14), %edi
	movl	$11, %esi
	callq	_BIT32_SET
LBB0_24:
	movb	-25(%rbp), %bl
	movl	$128, %edi
	callq	_UINT8_C
	testb	%bl, %al
	je	LBB0_25
LBB0_27:
	movl	(%r14), %edi
	movl	$12, %esi
	callq	_BIT32_CLEAR
	jmp	LBB0_28
LBB0_25:
	movq	8(%r14), %rax
	cmpq	$0, 96(%rax)
	je	LBB0_27
## %bb.26:
	movl	(%r14), %edi
	movl	$12, %esi
	callq	_BIT32_SET
LBB0_28:
	movl	(%r14), %edi
	movl	$12, %esi
	callq	_BIT32_GET
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:
	movq	8(%r14), %rax
	cmpq	$0, 96(%rax)
	je	LBB0_31
## %bb.30:
	movl	(%r14), %edi
	movl	$12, %esi
	callq	_BIT32_CLEAR
	jmp	LBB0_32
LBB0_31:
	movl	(%r14), %edi
	movl	$12, %esi
	callq	_BIT32_SET
LBB0_32:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPRDATA,4,2                    ## @PPRDATA
	.comm	_PPRSTATUS,4,2                  ## @PPRSTATUS
	.no_dead_strip	_parport_poll_pad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parport_poll_pad
_parport_poll_pad:                      ; @parport_poll_pad
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x8, _PPRDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPRDATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #15
	bl	_ioctl
	tbnz	x0, #63, LBB0_32
; %bb.1:
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _PPRSTATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPRSTATUS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #14
	bl	_ioctl
	tbnz	x0, #63, LBB0_32
; %bb.2:
	mov	x20, #0
	mov	w21, #1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	mov	x1, x20
	bl	_BIT32_CLEAR
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	cmp	x20, #8
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w22, [sp, #15]
	lsl	w0, w21, w20
	bl	_UINT8_C
	tst	w0, w22
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x20, lsl #3]
	cbz	x8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	mov	x1, x20
	bl	_BIT32_SET
	b	LBB0_4
LBB0_8:
	ldrb	w20, [sp, #14]
	mov	w0, #8
	bl	_UINT8_C
	tst	w0, w20
	b.eq	LBB0_10
LBB0_9:
	ldr	w0, [x19]
	mov	w1, #8
	bl	_BIT32_CLEAR
	b	LBB0_12
LBB0_10:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #64]
	cbz	x8, LBB0_9
; %bb.11:
	ldr	w0, [x19]
	mov	w1, #8
	bl	_BIT32_SET
LBB0_12:
	ldrb	w20, [sp, #14]
	mov	w0, #16
	bl	_UINT8_C
	tst	w0, w20
	b.eq	LBB0_14
LBB0_13:
	ldr	w0, [x19]
	mov	w1, #9
	bl	_BIT32_CLEAR
	b	LBB0_16
LBB0_14:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #72]
	cbz	x8, LBB0_13
; %bb.15:
	ldr	w0, [x19]
	mov	w1, #9
	bl	_BIT32_SET
LBB0_16:
	ldrb	w20, [sp, #14]
	mov	w0, #32
	bl	_UINT8_C
	tst	w0, w20
	b.eq	LBB0_18
LBB0_17:
	ldr	w0, [x19]
	mov	w1, #10
	bl	_BIT32_CLEAR
	b	LBB0_20
LBB0_18:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #80]
	cbz	x8, LBB0_17
; %bb.19:
	ldr	w0, [x19]
	mov	w1, #10
	bl	_BIT32_SET
LBB0_20:
	ldrb	w20, [sp, #14]
	mov	w0, #64
	bl	_UINT8_C
	tst	w0, w20
	b.eq	LBB0_22
LBB0_21:
	ldr	w0, [x19]
	mov	w1, #11
	bl	_BIT32_CLEAR
	b	LBB0_24
LBB0_22:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #88]
	cbz	x8, LBB0_21
; %bb.23:
	ldr	w0, [x19]
	mov	w1, #11
	bl	_BIT32_SET
LBB0_24:
	ldrb	w20, [sp, #14]
	mov	w0, #128
	bl	_UINT8_C
	tst	w0, w20
	b.eq	LBB0_26
LBB0_25:
	ldr	w0, [x19]
	mov	w1, #12
	bl	_BIT32_CLEAR
	b	LBB0_28
LBB0_26:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #96]
	cbz	x8, LBB0_25
; %bb.27:
	ldr	w0, [x19]
	mov	w1, #12
	bl	_BIT32_SET
LBB0_28:
	ldr	w0, [x19]
	mov	w1, #12
	bl	_BIT32_GET
	cbz	x0, LBB0_31
; %bb.29:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #96]
	cbz	x8, LBB0_31
; %bb.30:
	ldr	w0, [x19]
	mov	w1, #12
	bl	_BIT32_CLEAR
	b	LBB0_32
LBB0_31:
	ldr	w0, [x19]
	mov	w1, #12
	bl	_BIT32_SET
LBB0_32:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PPRDATA,4,2                    ; @PPRDATA
	.comm	_PPRSTATUS,4,2                  ; @PPRSTATUS
	.no_dead_strip	_parport_poll_pad
.subsections_via_symbols
