	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parport_irq_probe
_parport_irq_probe:                     ## @parport_irq_probe
	.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, %rbx
	movq	16(%rdi), %r15
	cmpq	$0, (%r15)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_programmable_irq_support
	movq	%rax, (%rbx)
	movq	_PARPORT_IRQ_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_irq_probe_ECP
	movq	%rax, (%rbx)
	jmp	LBB0_4
LBB0_1:
	movq	(%rbx), %rax
LBB0_4:
	movq	_PARPORT_IRQ_NONE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_8
## %bb.5:
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.6:
	movq	_PARPORT_MODE_EPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_irq_probe_EPP
	movq	%rax, (%rbx)
LBB0_8:
	movq	%rbx, %rdi
	callq	_clear_epp_timeout
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.9:
	movq	_PARPORT_MODE_EPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_irq_probe_EPP
	movq	%rax, (%rbx)
LBB0_11:
	movq	%rbx, %rdi
	callq	_clear_epp_timeout
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_irq_probe_SPP
	movq	%rax, (%rbx)
	movq	(%r14), %rcx
LBB0_13:
	cmpq	%rcx, %rax
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_get_superio_irq
	movq	%rax, (%rbx)
LBB0_15:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARPORT_IRQ_NONE,8,3           ## @PARPORT_IRQ_NONE
	.comm	_PARPORT_MODE_EPP,4,2           ## @PARPORT_MODE_EPP
	.no_dead_strip	_parport_irq_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parport_irq_probe
_parport_irq_probe:                     ; @parport_irq_probe
	.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
	ldr	x21, [x0, #16]
	ldr	x8, [x21]
Lloh0:
	adrp	x20, _PARPORT_IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PARPORT_IRQ_NONE@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_programmable_irq_support
	str	x0, [x19]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_irq_probe_ECP
	str	x0, [x19]
	b	LBB0_4
LBB0_3:
	ldr	x0, [x19]
LBB0_4:
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _PARPORT_MODE_EPP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PARPORT_MODE_EPP@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_irq_probe_EPP
	str	x0, [x19]
LBB0_8:
	mov	x0, x19
	bl	_clear_epp_timeout
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
	ldr	w8, [x19, #8]
Lloh5:
	adrp	x9, _PARPORT_MODE_EPP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PARPORT_MODE_EPP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_irq_probe_EPP
	str	x0, [x19]
LBB0_11:
	mov	x0, x19
	bl	_clear_epp_timeout
	ldr	x0, [x19]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_irq_probe_SPP
	str	x0, [x19]
	ldr	x8, [x20]
LBB0_13:
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_get_superio_irq
	str	x0, [x19]
LBB0_15:
                                        ; kill: def $w0 killed $w0 killed $x0
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PARPORT_IRQ_NONE,8,3           ; @PARPORT_IRQ_NONE
	.comm	_PARPORT_MODE_EPP,4,2           ; @PARPORT_MODE_EPP
	.no_dead_strip	_parport_irq_probe
.subsections_via_symbols
