	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_request_irq
_igb_request_irq:                       ## @igb_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	24(%rdi), %r12
	movq	_IGB_FLAG_HAS_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_igb_request_msix
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_igb_free_all_tx_resources
	movq	%rbx, %rdi
	callq	_igb_free_all_rx_resources
	movq	%rbx, %rdi
	callq	_igb_clear_interrupt_scheme
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_igb_init_interrupt_scheme
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movq	%rbx, %rdi
	callq	_igb_setup_all_tx_resources
	movq	%rbx, %rdi
	callq	_igb_setup_all_rx_resources
	movq	%rbx, %rdi
	callq	_igb_configure
LBB0_5:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_igb_assign_vector
	movq	_IGB_FLAG_HAS_MSI@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.6:
	movl	4(%r14), %edi
	movq	_igb_intr_msi@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	xorl	%edx, %edx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_igb_reset_interrupt_capability
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_8:
	movl	4(%r14), %edi
	movq	_igb_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movl	%ebx, %r15d
	jmp	LBB0_10
LBB0_2:
	xorl	%r15d, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGB_FLAG_HAS_MSIX,4,2          ## @IGB_FLAG_HAS_MSIX
	.comm	_IGB_FLAG_HAS_MSI,4,2           ## @IGB_FLAG_HAS_MSI
	.comm	_igb_intr_msi,4,2               ## @igb_intr_msi
	.comm	_igb_intr,4,2                   ## @igb_intr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error %d getting interrupt\n"

	.no_dead_strip	_igb_request_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_request_irq
_igb_request_irq:                       ; @igb_request_irq
	.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	x20, x0
	ldp	x19, x22, [x0, #16]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IGB_FLAG_HAS_MSIX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IGB_FLAG_HAS_MSIX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_igb_request_msix
	cbz	w0, LBB0_9
; %bb.2:
	mov	x0, x20
	bl	_igb_free_all_tx_resources
	mov	x0, x20
	bl	_igb_free_all_rx_resources
	mov	x0, x20
	bl	_igb_clear_interrupt_scheme
	mov	x0, x20
	mov	w1, #0
	bl	_igb_init_interrupt_scheme
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.3:
	mov	x0, x20
	bl	_igb_setup_all_tx_resources
	mov	x0, x20
	bl	_igb_setup_all_rx_resources
	mov	x0, x20
	bl	_igb_configure
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	mov	w1, #0
	bl	_igb_assign_vector
	ldr	w8, [x20]
Lloh3:
	adrp	x21, _IGB_FLAG_HAS_MSI@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IGB_FLAG_HAS_MSI@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x8, _igb_intr_msi@GOTPAGE
Lloh6:
	ldr	x8, [x8, _igb_intr_msi@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	w2, #0
	mov	x4, x20
	bl	_request_irq
	cbz	w0, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_igb_reset_interrupt_capability
	ldr	w8, [x21]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
LBB0_7:
Lloh8:
	adrp	x8, _igb_intr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _igb_intr@GOTPAGEOFF]
	ldr	w0, [x19, #4]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w3, [x22]
	mov	x4, x20
	bl	_request_irq
	mov	x21, x0
	cbz	w0, LBB0_10
; %bb.8:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
	b	LBB0_10
LBB0_9:
	mov	w21, #0
LBB0_10:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IGB_FLAG_HAS_MSIX,4,2          ; @IGB_FLAG_HAS_MSIX
	.comm	_IGB_FLAG_HAS_MSI,4,2           ; @IGB_FLAG_HAS_MSI
	.comm	_igb_intr_msi,4,2               ; @igb_intr_msi
	.comm	_igb_intr,4,2                   ; @igb_intr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error %d getting interrupt\n"

	.no_dead_strip	_igb_request_irq
.subsections_via_symbols
