	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_gbe_request_irq
_pch_gbe_request_irq:                   ## @pch_gbe_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %rdi
	movq	16(%r12), %r15
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$0, (%r12)
	callq	_pci_enable_msi
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_3
LBB0_2:
	movl	$1, (%r12)
	xorl	%r14d, %r14d
LBB0_3:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movl	(%r15), %ecx
	movq	_pch_gbe_intr@GOTPCREL(%rip), %rsi
	movl	%r14d, %edx
	movq	%r15, %r8
	callq	_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_err
LBB0_5:
	movl	(%r12), %esi
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"call pci_enable_msi\n"

L_.str.1:                               ## @.str.1
	.asciz	"call pci_enable_msi - Error: %d\n"

	.comm	_pch_gbe_intr,4,2               ## @pch_gbe_intr
L_.str.2:                               ## @.str.2
	.asciz	"Unable to allocate interrupt Error: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"adapter->have_msi : %d  flags : 0x%04x  return : 0x%04x\n"

	.no_dead_strip	_pch_gbe_request_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_gbe_request_irq
_pch_gbe_request_irq:                   ; @pch_gbe_request_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	str	wzr, [x0]
	ldp	x0, x21, [x0, #8]
	bl	_pci_enable_msi
	mov	x22, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	cbz	w22, LBB0_2
; %bb.1:
	str	x22, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	b	LBB0_3
LBB0_2:
	mov	w19, #0
	mov	w8, #1
	str	w8, [x20]
LBB0_3:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	w3, [x21]
Lloh7:
	adrp	x1, _pch_gbe_intr@GOTPAGE
Lloh8:
	ldr	x1, [x1, _pch_gbe_intr@GOTPAGEOFF]
	mov	x2, x19
	mov	x4, x21
	bl	_request_irq
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_pr_err
LBB0_5:
	ldr	w8, [x20]
	stp	x19, x21, [sp, #8]
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"call pci_enable_msi\n"

l_.str.1:                               ; @.str.1
	.asciz	"call pci_enable_msi - Error: %d\n"

	.comm	_pch_gbe_intr,4,2               ; @pch_gbe_intr
l_.str.2:                               ; @.str.2
	.asciz	"Unable to allocate interrupt Error: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"adapter->have_msi : %d  flags : 0x%04x  return : 0x%04x\n"

	.no_dead_strip	_pch_gbe_request_irq
.subsections_via_symbols
