	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_request_interrupt          ## -- Begin function phy_request_interrupt
	.p2align	4, 0x90
_phy_request_interrupt:                 ## @phy_request_interrupt
	.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	(%rdi), %r14
	movq	_phy_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	callq	_phydev_name
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	movq	%r12, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	(%r12), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_phydev_warn
	jmp	LBB0_4
LBB0_2:
	movq	%r12, %rdi
	callq	_phy_enable_interrupts
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_phydev_warn
	movq	%r12, %rdi
	callq	_phy_free_interrupt
LBB0_4:
	movq	_PHY_POLL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_phy_interrupt,4,2              ## @phy_interrupt
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error %d requesting IRQ %d, falling back to polling\n"

	.comm	_PHY_POLL,8,3                   ## @PHY_POLL
L_.str.1:                               ## @.str.1
	.asciz	"Can't enable interrupt, falling back to polling\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_request_interrupt          ; -- Begin function phy_request_interrupt
	.p2align	2
_phy_request_interrupt:                 ; @phy_request_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _phy_interrupt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _phy_interrupt@GOTPAGEOFF]
Lloh2:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w22, w9, w8
	bl	_phydev_name
	mov	x4, x0
	mov	x0, x20
	mov	x1, #0
	mov	x2, x21
	mov	x3, x22
	mov	x5, x19
	bl	_request_threaded_irq
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	stp	x0, x8, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_phydev_warn
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_phy_enable_interrupts
	cbz	x0, LBB0_5
; %bb.3:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_phydev_warn
	mov	x0, x19
	bl	_phy_free_interrupt
LBB0_4:
Lloh13:
	adrp	x8, _PHY_POLL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PHY_POLL@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_phy_interrupt,4,2              ; @phy_interrupt
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error %d requesting IRQ %d, falling back to polling\n"

	.comm	_PHY_POLL,8,3                   ; @PHY_POLL
l_.str.1:                               ; @.str.1
	.asciz	"Can't enable interrupt, falling back to polling\n"

.subsections_via_symbols
