	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_request_irq
_e1000_request_irq:                     ## @e1000_request_irq
	.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	32(%rdi), %r14
	cmpq	$0, 24(%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_e1000_request_msix
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	callq	_e1000e_reset_interrupt_capability
	movq	_E1000E_INT_MODE_MSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_e1000e_set_interrupt_capability
LBB0_3:
	movq	_FLAG_MSI_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.4:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	_e1000_intr_msi@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	callq	_e1000e_reset_interrupt_capability
	movq	_E1000E_INT_MODE_LEGACY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_6:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	_e1000_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_e_err
	jmp	LBB0_10
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000E_INT_MODE_MSI,4,2        ## @E1000E_INT_MODE_MSI
	.comm	_FLAG_MSI_ENABLED,4,2           ## @FLAG_MSI_ENABLED
	.comm	_e1000_intr_msi,4,2             ## @e1000_intr_msi
	.comm	_E1000E_INT_MODE_LEGACY,4,2     ## @E1000E_INT_MODE_LEGACY
	.comm	_e1000_intr,4,2                 ## @e1000_intr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate interrupt, Error: %d\n"

	.no_dead_strip	_e1000_request_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_request_irq
_e1000_request_irq:                     ; @e1000_request_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldp	x8, x19, [x0, #24]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_e1000_request_msix
	cbz	w0, LBB0_8
; %bb.2:
	mov	x0, x20
	bl	_e1000e_reset_interrupt_capability
Lloh0:
	adrp	x8, _E1000E_INT_MODE_MSI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000E_INT_MODE_MSI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	mov	x0, x20
	bl	_e1000e_set_interrupt_capability
LBB0_3:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _FLAG_MSI_ENABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLAG_MSI_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _e1000_intr_msi@GOTPAGE
Lloh7:
	ldr	x8, [x8, _e1000_intr_msi@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w3, [x19]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_e1000e_reset_interrupt_capability
Lloh9:
	adrp	x8, _E1000E_INT_MODE_LEGACY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E1000E_INT_MODE_LEGACY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20, #16]
LBB0_6:
	ldr	x8, [x20, #8]
Lloh12:
	adrp	x9, _e1000_intr@GOTPAGE
Lloh13:
	ldr	x9, [x9, _e1000_intr@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh14:
	ldr	w1, [x9]
Lloh15:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	x4, x19
	bl	_request_irq
	mov	x19, x0
	cbz	w0, LBB0_9
; %bb.7:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_e_err
	b	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000E_INT_MODE_MSI,4,2        ; @E1000E_INT_MODE_MSI
	.comm	_FLAG_MSI_ENABLED,4,2           ; @FLAG_MSI_ENABLED
	.comm	_e1000_intr_msi,4,2             ; @e1000_intr_msi
	.comm	_E1000E_INT_MODE_LEGACY,4,2     ; @E1000E_INT_MODE_LEGACY
	.comm	_e1000_intr,4,2                 ; @e1000_intr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate interrupt, Error: %d\n"

	.no_dead_strip	_e1000_request_irq
.subsections_via_symbols
