	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_setup_gpie
_ixgbe_setup_gpie:                      ## @ixgbe_setup_gpie
	.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, %r15
	leaq	8(%rdi), %r14
	movq	_IXGBE_FLAG_MSIX_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	_IXGBE_GPIE_MSIX_MODE@GOTPCREL(%rip), %rax
	movq	_IXGBE_GPIE_PBA_SUPPORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_IXGBE_GPIE_OCD@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_IXGBE_GPIE_EIAME@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	cmpl	$133, (%r14)
	jne	LBB0_4
## %bb.2:
	movq	_IXGBE_EIAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IXGBE_EICS_RTX_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	jmp	LBB0_5
LBB0_3:
	movq	_IXGBE_EIAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IXGBE_EICS_RTX_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_4:
	xorl	%edi, %edi
	callq	_IXGBE_EIAM_EX
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_IXGBE_WRITE_REG
	movl	$1, %edi
	callq	_IXGBE_EIAM_EX
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
LBB0_5:
	callq	_IXGBE_WRITE_REG
LBB0_6:
	movl	(%r15), %eax
	movq	_IXGBE_FLAG_SRIOV_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.7:
	movq	_IXGBE_GPIE_VTMODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %ebx
	movq	16(%r15), %rcx
	movq	_RING_F_VMDQ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %ecx
	cmpl	$135, %ecx
	je	LBB0_10
## %bb.8:
	cmpl	$134, %ecx
	jne	LBB0_11
## %bb.9:
	movq	_IXGBE_GPIE_VTMODE_16@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_10:
	movq	_IXGBE_GPIE_VTMODE_32@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_11:
	movq	_IXGBE_GPIE_VTMODE_64@GOTPCREL(%rip), %rcx
LBB0_12:
	orl	(%rcx), %ebx
LBB0_13:
	movq	_IXGBE_FLAG2_TEMP_SENSOR_CAPABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%r15)
	je	LBB0_16
## %bb.14:
	cmpl	$132, (%r14)
	jne	LBB0_16
## %bb.15:
	movq	_IXGBE_SDP0_GPIEN_8259X@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
LBB0_16:
	movq	_IXGBE_FLAG_FAN_FAIL_CAPABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	movq	%r14, %rdi
	callq	_IXGBE_SDP1_GPIEN
	orl	%eax, %ebx
LBB0_18:
	movl	(%r14), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_20
## %bb.19:
	movq	_IXGBE_SDP0_GPIEN_X540@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_22
LBB0_20:
	cmpl	$132, %eax
	jne	LBB0_22
## %bb.21:
	movq	_IXGBE_SDP1_GPIEN_8259X@GOTPCREL(%rip), %rax
	movq	_IXGBE_SDP2_GPIEN_8259X@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
LBB0_22:
	movq	_IXGBE_GPIE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IXGBE_WRITE_REG                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG_MSIX_ENABLED,4,2    ## @IXGBE_FLAG_MSIX_ENABLED
	.comm	_IXGBE_GPIE_MSIX_MODE,4,2       ## @IXGBE_GPIE_MSIX_MODE
	.comm	_IXGBE_GPIE_PBA_SUPPORT,4,2     ## @IXGBE_GPIE_PBA_SUPPORT
	.comm	_IXGBE_GPIE_OCD,4,2             ## @IXGBE_GPIE_OCD
	.comm	_IXGBE_GPIE_EIAME,4,2           ## @IXGBE_GPIE_EIAME
	.comm	_IXGBE_EIAM,4,2                 ## @IXGBE_EIAM
	.comm	_IXGBE_EICS_RTX_QUEUE,4,2       ## @IXGBE_EICS_RTX_QUEUE
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ## @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_IXGBE_GPIE_VTMODE_MASK,4,2     ## @IXGBE_GPIE_VTMODE_MASK
	.comm	_RING_F_VMDQ,8,3                ## @RING_F_VMDQ
	.comm	_IXGBE_GPIE_VTMODE_16,4,2       ## @IXGBE_GPIE_VTMODE_16
	.comm	_IXGBE_GPIE_VTMODE_32,4,2       ## @IXGBE_GPIE_VTMODE_32
	.comm	_IXGBE_GPIE_VTMODE_64,4,2       ## @IXGBE_GPIE_VTMODE_64
	.comm	_IXGBE_FLAG2_TEMP_SENSOR_CAPABLE,4,2 ## @IXGBE_FLAG2_TEMP_SENSOR_CAPABLE
	.comm	_IXGBE_SDP0_GPIEN_8259X,4,2     ## @IXGBE_SDP0_GPIEN_8259X
	.comm	_IXGBE_FLAG_FAN_FAIL_CAPABLE,4,2 ## @IXGBE_FLAG_FAN_FAIL_CAPABLE
	.comm	_IXGBE_SDP1_GPIEN_8259X,4,2     ## @IXGBE_SDP1_GPIEN_8259X
	.comm	_IXGBE_SDP2_GPIEN_8259X,4,2     ## @IXGBE_SDP2_GPIEN_8259X
	.comm	_IXGBE_SDP0_GPIEN_X540,4,2      ## @IXGBE_SDP0_GPIEN_X540
	.comm	_IXGBE_GPIE,4,2                 ## @IXGBE_GPIE
	.no_dead_strip	_ixgbe_setup_gpie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_setup_gpie
_ixgbe_setup_gpie:                      ; @ixgbe_setup_gpie
	.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	x21, x0
	mov	x19, x0
	ldr	w8, [x19], #8
Lloh0:
	adrp	x9, _IXGBE_FLAG_MSIX_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG_MSIX_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _IXGB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4:
	mov	w0, #0
	bl	_IXGBE_EIAM_EX
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_IXGBE_WRITE_REG
	mov	w0, #1
	bl	_IXGBE_EIAM_EX
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
LBB0_5:
	bl	_IXGBE_WRITE_REG
LBB0_6:
	ldr	w8, [x21]
Lloh27:
	adrp	x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.7:
Lloh30:
	adrp	x9, _IXGBE_GPIE_VTMODE_MASK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IXGBE_GPIE_VTMODE_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	bic	w9, w20, w9
	ldr	x10, [x21, #16]
Lloh33:
	adrp	x11, _RING_F_VMDQ@GOTPAGE
Lloh34:
	ldr	x11, [x11, _RING_F_VMDQ@GOTPAGEOFF]
Lloh35:
	ldr	x11, [x11]
	ldr	w10, [x10, x11, lsl #2]
	cmp	w10, #135
	b.eq	LBB0_10
; %bb.8:
	cmp	w10, #134
	b.ne	LBB0_11
; %bb.9:
Lloh36:
	adrp	x10, _IXGBE_GPIE_VTMODE_16@GOTPAGE
Lloh37:
	ldr	x10, [x10, _IXGBE_GPIE_VTMODE_16@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh38:
	adrp	x10, _IXGBE_GPIE_VTMODE_32@GOTPAGE
Lloh39:
	ldr	x10, [x10, _IXGBE_GPIE_VTMODE_32@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh40:
	adrp	x10, _IXGBE_GPIE_VTMODE_64@GOTPAGE
Lloh41:
	ldr	x10, [x10, _IXGBE_GPIE_VTMODE_64@GOTPAGEOFF]
LBB0_12:
	ldr	w10, [x10]
	orr	w20, w10, w9
LBB0_13:
	ldr	w9, [x21, #4]
Lloh42:
	adrp	x10, _IXGBE_FLAG2_TEMP_SENSOR_CAPABLE@GOTPAGE
Lloh43:
	ldr	x10, [x10, _IXGBE_FLAG2_TEMP_SENSOR_CAPABLE@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_16
; %bb.14:
	ldr	w9, [x19]
	cmp	w9, #132
	b.ne	LBB0_16
; %bb.15:
Lloh45:
	adrp	x9, _IXGBE_SDP0_GPIEN_8259X@GOTPAGE
Lloh46:
	ldr	x9, [x9, _IXGBE_SDP0_GPIEN_8259X@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w20, w9, w20
LBB0_16:
Lloh48:
	adrp	x9, _IXGBE_FLAG_FAN_FAIL_CAPABLE@GOTPAGE
Lloh49:
	ldr	x9, [x9, _IXGBE_FLAG_FAN_FAIL_CAPABLE@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_IXGBE_SDP1_GPIEN
	orr	w20, w0, w20
LBB0_18:
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_20
; %bb.19:
Lloh51:
	adrp	x8, _IXGBE_SDP0_GPIEN_X540@GOTPAGE
Lloh52:
	ldr	x8, [x8, _IXGBE_SDP0_GPIEN_X540@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	orr	w20, w8, w20
	b	LBB0_22
LBB0_20:
	cmp	w8, #132
	b.ne	LBB0_22
; %bb.21:
Lloh54:
	adrp	x8, _IXGBE_SDP1_GPIEN_8259X@GOTPAGE
Lloh55:
	ldr	x8, [x8, _IXGBE_SDP1_GPIEN_8259X@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _IXGBE_SDP2_GPIEN_8259X@GOTPAGE
Lloh58:
	ldr	x9, [x9, _IXGBE_SDP2_GPIEN_8259X@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w8, w8, w20
	orr	w20, w8, w9
LBB0_22:
Lloh60:
	adrp	x8, _IXGBE_GPIE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IXGBE_GPIE@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	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
	b	_IXGBE_WRITE_REG
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG_MSIX_ENABLED,4,2    ; @IXGBE_FLAG_MSIX_ENABLED
	.comm	_IXGBE_GPIE_MSIX_MODE,4,2       ; @IXGBE_GPIE_MSIX_MODE
	.comm	_IXGBE_GPIE_PBA_SUPPORT,4,2     ; @IXGBE_GPIE_PBA_SUPPORT
	.comm	_IXGBE_GPIE_OCD,4,2             ; @IXGBE_GPIE_OCD
	.comm	_IXGBE_GPIE_EIAME,4,2           ; @IXGBE_GPIE_EIAME
	.comm	_IXGBE_EIAM,4,2                 ; @IXGBE_EIAM
	.comm	_IXGBE_EICS_RTX_QUEUE,4,2       ; @IXGBE_EICS_RTX_QUEUE
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ; @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_IXGBE_GPIE_VTMODE_MASK,4,2     ; @IXGBE_GPIE_VTMODE_MASK
	.comm	_RING_F_VMDQ,8,3                ; @RING_F_VMDQ
	.comm	_IXGBE_GPIE_VTMODE_16,4,2       ; @IXGBE_GPIE_VTMODE_16
	.comm	_IXGBE_GPIE_VTMODE_32,4,2       ; @IXGBE_GPIE_VTMODE_32
	.comm	_IXGBE_GPIE_VTMODE_64,4,2       ; @IXGBE_GPIE_VTMODE_64
	.comm	_IXGBE_FLAG2_TEMP_SENSOR_CAPABLE,4,2 ; @IXGBE_FLAG2_TEMP_SENSOR_CAPABLE
	.comm	_IXGBE_SDP0_GPIEN_8259X,4,2     ; @IXGBE_SDP0_GPIEN_8259X
	.comm	_IXGBE_FLAG_FAN_FAIL_CAPABLE,4,2 ; @IXGBE_FLAG_FAN_FAIL_CAPABLE
	.comm	_IXGBE_SDP1_GPIEN_8259X,4,2     ; @IXGBE_SDP1_GPIEN_8259X
	.comm	_IXGBE_SDP2_GPIEN_8259X,4,2     ; @IXGBE_SDP2_GPIEN_8259X
	.comm	_IXGBE_SDP0_GPIEN_X540,4,2      ; @IXGBE_SDP0_GPIEN_X540
	.comm	_IXGBE_GPIE,4,2                 ; @IXGBE_GPIE
	.no_dead_strip	_ixgbe_setup_gpie
.subsections_via_symbols
