	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_assign_vector
_igb_assign_vector:                     ## @igb_assign_vector
	.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, %r15
	movq	16(%rdi), %rdx
	movq	24(%rdi), %rdi
	movq	_IGB_N0_QUEUE@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	movl	%eax, %ecx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	(%rdx), %ecx
LBB0_2:
	leaq	8(%rdi), %r12
	movq	8(%r15), %rdx
	movl	%eax, %r13d
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movl	(%rdx), %r13d
LBB0_4:
	movl	(%r12), %edx
	leal	-128(%rdx), %ebx
	cmpl	$5, %ebx
	jae	LBB0_12
## %bb.5:
	movq	%rdi, %r14
	cmpl	%eax, %ecx
	jle	LBB0_7
## %bb.6:
	movl	%ecx, %edx
	sarl	%edx
	shll	$4, %ecx
	andl	$16, %ecx
	movq	%r12, %rdi
	movl	%esi, %ebx
	callq	_igb_write_ivar
	movl	%ebx, %esi
	movq	_IGB_N0_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	cmpl	%eax, %r13d
	jle	LBB0_9
## %bb.8:
	movl	%r13d, %edx
	sarl	%edx
	shll	$4, %r13d
	andl	$16, %r13d
	orl	$8, %r13d
	movq	%r12, %rdi
	movl	%r13d, %ecx
	movl	%esi, %ebx
	callq	_igb_write_ivar
	movl	%ebx, %esi
LBB0_9:
	movl	%esi, %edi
	callq	_BIT
	movq	%rax, %rbx
LBB0_10:
	movl	%ebx, (%r15)
LBB0_11:
	orl	%ebx, 4(%r14)
	movl	$1, 4(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	cmpl	$133, %edx
	je	LBB0_17
## %bb.13:
	cmpl	$134, %edx
	jne	LBB0_22
## %bb.14:
	movq	_E1000_EICR_RX_QUEUE0@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	xorl	%r8d, %r8d
	cmpl	%eax, %ecx
	cmovlel	%r8d, %edx
	movq	_E1000_EICR_TX_QUEUE0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%r13d, %ecx
	shll	%cl, %ebx
	cmpl	%eax, %r13d
	cmovlel	%r8d, %ebx
	orl	%edx, %ebx
	movq	_IGB_FLAG_HAS_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdi, %r14
	andl	(%rdi), %eax
	orl	%esi, %eax
	movl	$0, %eax
	movl	%esi, %r12d
	jne	LBB0_16
## %bb.15:
	movq	_E1000_EIMS_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:
	orl	%eax, %ebx
	xorl	%edi, %edi
	callq	_E1000_MSIXBM
	movl	%eax, %edi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_array_wr32
	jmp	LBB0_10
LBB0_17:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %ecx
	jle	LBB0_19
## %bb.18:
	movl	%ecx, %edx
	andl	$7, %edx
	addl	%ecx, %ecx
	andl	$16, %ecx
	movq	%r12, %rdi
	movl	%esi, %r14d
	movq	%r8, %rbx
	callq	_igb_write_ivar
	movl	%r14d, %esi
	movl	(%rbx), %eax
LBB0_19:
	cmpl	%eax, %r13d
	jle	LBB0_21
## %bb.20:
	movl	%r13d, %edx
	andl	$7, %edx
	andl	$8, %r13d
	leal	8(%r13,%r13), %ecx
	movq	%r12, %rdi
	movl	%esi, %ebx
	callq	_igb_write_ivar
	movl	%ebx, %esi
LBB0_21:
	movl	%esi, %edi
	callq	_BIT
	movq	%rax, %rbx
	movl	%ebx, (%r15)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_22:
	xorl	%eax, %eax
	movq	%rdi, %r14
	callq	_BUG
	movl	(%r15), %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_IGB_N0_QUEUE,4,2               ## @IGB_N0_QUEUE
	.comm	_E1000_EICR_RX_QUEUE0,4,2       ## @E1000_EICR_RX_QUEUE0
	.comm	_E1000_EICR_TX_QUEUE0,4,2       ## @E1000_EICR_TX_QUEUE0
	.comm	_IGB_FLAG_HAS_MSIX,4,2          ## @IGB_FLAG_HAS_MSIX
	.comm	_E1000_EIMS_OTHER,4,2           ## @E1000_EIMS_OTHER
	.no_dead_strip	_igb_assign_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_assign_vector
_igb_assign_vector:                     ; @igb_assign_vector
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _IGB_N0_QUEUE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IGB_N0_QUEUE@GOTPAGEOFF]
	ldr	w8, [x24]
	ldp	x10, x22, [x0, #16]
	mov	x9, x8
	cbz	x10, LBB0_2
; %bb.1:
	ldr	w9, [x10]
LBB0_2:
	add	x21, x22, #8
	ldr	x10, [x19, #8]
	mov	x23, x8
	cbz	x10, LBB0_4
; %bb.3:
	ldr	w23, [x10]
LBB0_4:
	ldr	w10, [x21]
	sub	w11, w10, #128
	cmp	w11, #5
	b.hs	LBB0_11
; %bb.5:
	cmp	w9, w8
	b.le	LBB0_7
; %bb.6:
	asr	w2, w9, #1
	ubfiz	w3, w9, #4, #1
	mov	x0, x21
	mov	x1, x20
	bl	_igb_write_ivar
	ldr	w8, [x24]
LBB0_7:
	cmp	w23, w8
	b.le	LBB0_9
; %bb.8:
	asr	w2, w23, #1
	mov	w3, #8
	bfi	w3, w23, #4, #1
	mov	x0, x21
	mov	x1, x20
	bl	_igb_write_ivar
LBB0_9:
	mov	x0, x20
	bl	_BIT
	str	w0, [x19]
	mov	x21, x0
LBB0_10:
	ldr	w8, [x22, #4]
	orr	w8, w8, w21
	str	w8, [x22, #4]
	mov	w8, #1
	str	w8, [x19, #4]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	cmp	w10, #133
	b.eq	LBB0_14
; %bb.12:
	cmp	w10, #134
	b.ne	LBB0_19
; %bb.13:
Lloh2:
	adrp	x10, _E1000_EICR_RX_QUEUE0@GOTPAGE
Lloh3:
	ldr	x10, [x10, _E1000_EICR_RX_QUEUE0@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	lsl	w10, w10, w9
Lloh5:
	adrp	x11, _E1000_EICR_TX_QUEUE0@GOTPAGE
Lloh6:
	ldr	x11, [x11, _E1000_EICR_TX_QUEUE0@GOTPAGEOFF]
	cmp	w9, w8
	csel	w9, w10, wzr, gt
Lloh7:
	ldr	w10, [x11]
	lsl	w10, w10, w23
	cmp	w23, w8
	csel	w8, w10, wzr, gt
	orr	w8, w8, w9
	ldr	w9, [x22]
Lloh8:
	adrp	x10, _IGB_FLAG_HAS_MSIX@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IGB_FLAG_HAS_MSIX@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	and	w9, w10, w9
	orr	w9, w9, w20
Lloh11:
	adrp	x10, _E1000_EIMS_OTHER@GOTPAGE
Lloh12:
	ldr	x10, [x10, _E1000_EIMS_OTHER@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	w9, #0
	csel	w9, w10, wzr, eq
	orr	w21, w8, w9
	mov	w0, #0
	bl	_E1000_MSIXBM
	mov	x1, x20
	mov	x2, x21
	bl	_array_wr32
	str	w21, [x19]
	b	LBB0_10
LBB0_14:
	cmp	w9, w8
	b.le	LBB0_16
; %bb.15:
	and	w2, w9, #0x7
	lsl	w8, w9, #1
	and	w3, w8, #0x10
	mov	x0, x21
	mov	x1, x20
	bl	_igb_write_ivar
	ldr	w8, [x24]
LBB0_16:
	cmp	w23, w8
	b.le	LBB0_18
; %bb.17:
	and	w2, w23, #0x7
	lsr	w8, w23, #3
	mov	w3, #8
	bfi	w3, w8, #4, #1
	mov	x0, x21
	mov	x1, x20
	bl	_igb_write_ivar
LBB0_18:
	mov	x0, x20
	bl	_BIT
	mov	x21, x0
	str	w21, [x19]
	b	LBB0_10
LBB0_19:
	bl	_BUG
	ldr	w21, [x19]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IGB_N0_QUEUE,4,2               ; @IGB_N0_QUEUE
	.comm	_E1000_EICR_RX_QUEUE0,4,2       ; @E1000_EICR_RX_QUEUE0
	.comm	_E1000_EICR_TX_QUEUE0,4,2       ; @E1000_EICR_TX_QUEUE0
	.comm	_IGB_FLAG_HAS_MSIX,4,2          ; @IGB_FLAG_HAS_MSIX
	.comm	_E1000_EIMS_OTHER,4,2           ; @E1000_EIMS_OTHER
	.no_dead_strip	_igb_assign_vector
.subsections_via_symbols
