	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fe_hw_init
_fe_hw_init:                            ## @fe_hw_init
	.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, %r12
	callq	_netdev_priv
	movq	%rax, %r15
	movl	8(%rax), %ebx
	movl	4(%r12), %r14d
	movq	_fe_handle_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%ebx, %edi
	callq	_dev_name
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r12, %r9
	callq	_devm_request_irq
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	(%r15), %rax
	movq	16(%rax), %rax
	movl	(%r12), %esi
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	*%rax
	jmp	LBB0_4
LBB0_3:
	callq	_fe_hw_set_macaddr
LBB0_4:
	movq	_FE_REG_DLY_INT_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edi, %edi
	callq	_fe_reg_w32
	movq	(%r15), %rax
	movl	4(%rax), %edi
	orl	(%rax), %edi
	callq	_fe_int_disable
	movq	_fe_reg_table@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_FE_REG_FE_DMA_VID_BASE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movl	$65536, %edi                    ## imm = 0x10000
	callq	_fe_w32
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	addq	$4, %rsi
	movl	$196610, %edi                   ## imm = 0x30002
	callq	_fe_w32
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	addq	$8, %rsi
	movl	$327684, %edi                   ## imm = 0x50004
	callq	_fe_w32
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	addq	$12, %rsi
	movl	$458758, %edi                   ## imm = 0x70006
	callq	_fe_w32
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	addq	$16, %rsi
	movl	$589832, %edi                   ## imm = 0x90008
	callq	_fe_w32
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	addq	$20, %rsi
	movl	$720906, %edi                   ## imm = 0xB000A
	callq	_fe_w32
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	addq	$24, %rsi
	movl	$851980, %edi                   ## imm = 0xD000C
	callq	_fe_w32
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	addq	$28, %rsi
	movl	$983054, %edi                   ## imm = 0xF000E
	callq	_fe_w32
LBB0_6:
	movq	(%r15), %rax
	movq	%r15, %rdi
	callq	*8(%rax)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_netdev_err
LBB0_8:
	movq	(%r13), %rax
	movq	_FE_REG_FE_RST_GL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_10
## %bb.9:
	movl	$1, %edi
	callq	_fe_reg_w32
	movq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_fe_reg_w32
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fe_handle_irq,4,2              ## @fe_handle_irq
	.comm	_FE_REG_DLY_INT_CFG,8,3         ## @FE_REG_DLY_INT_CFG
	.comm	_fe_reg_table,8,3               ## @fe_reg_table
	.comm	_FE_REG_FE_DMA_VID_BASE,8,3     ## @FE_REG_FE_DMA_VID_BASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to get clock\n"

	.comm	_FE_REG_FE_RST_GL,8,3           ## @FE_REG_FE_RST_GL
	.no_dead_strip	_fe_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fe_hw_init
_fe_hw_init:                            ; @fe_hw_init
	.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, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	w19, [x0, #8]
	ldr	w22, [x20, #4]
Lloh0:
	adrp	x8, _fe_handle_irq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fe_handle_irq@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	mov	x19, x0
	cbnz	w0, LBB0_10
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x8, #16]
	ldr	w1, [x20]
	mov	x0, x21
	cbz	x8, LBB0_3
; %bb.2:
	blr	x8
	b	LBB0_4
LBB0_3:
	bl	_fe_hw_set_macaddr
LBB0_4:
Lloh3:
	adrp	x8, _FE_REG_DLY_INT_CFG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FE_REG_DLY_INT_CFG@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	mov	w0, #0
	bl	_fe_reg_w32
	ldr	x8, [x21]
	ldp	w9, w8, [x8]
	orr	w0, w8, w9
	bl	_fe_int_disable
Lloh6:
	adrp	x22, _fe_reg_table@GOTPAGE
Lloh7:
	ldr	x22, [x22, _fe_reg_table@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh8:
	adrp	x23, _FE_REG_FE_DMA_VID_BASE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _FE_REG_FE_DMA_VID_BASE@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_6
; %bb.5:
	mov	w0, #65536
	bl	_fe_w32
	ldr	x8, [x22]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	add	x1, x8, #4
	mov	w0, #2
	movk	w0, #3, lsl #16
	bl	_fe_w32
	ldr	x8, [x22]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	add	x1, x8, #8
	mov	w0, #4
	movk	w0, #5, lsl #16
	bl	_fe_w32
	ldr	x8, [x22]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	add	x1, x8, #12
	mov	w0, #6
	movk	w0, #7, lsl #16
	bl	_fe_w32
	ldr	x8, [x22]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	add	x1, x8, #16
	mov	w0, #8
	movk	w0, #9, lsl #16
	bl	_fe_w32
	ldr	x8, [x22]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	add	x1, x8, #20
	mov	w0, #10
	movk	w0, #11, lsl #16
	bl	_fe_w32
	ldr	x8, [x22]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	add	x1, x8, #24
	mov	w0, #12
	movk	w0, #13, lsl #16
	bl	_fe_w32
	ldr	x8, [x22]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	add	x1, x8, #28
	mov	w0, #14
	movk	w0, #15, lsl #16
	bl	_fe_w32
LBB0_6:
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	mov	x0, x21
	blr	x8
	cbz	x0, LBB0_8
; %bb.7:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
LBB0_8:
	ldr	x8, [x22]
Lloh12:
	adrp	x20, _FE_REG_FE_RST_GL@GOTPAGE
Lloh13:
	ldr	x20, [x20, _FE_REG_FE_RST_GL@GOTPAGEOFF]
	ldr	x1, [x20]
	ldr	x8, [x8, x1, lsl #3]
	cbz	x8, LBB0_10
; %bb.9:
	mov	w0, #1
	bl	_fe_reg_w32
	ldr	x1, [x20]
	mov	w0, #0
	bl	_fe_reg_w32
LBB0_10:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_fe_handle_irq,4,2              ; @fe_handle_irq
	.comm	_FE_REG_DLY_INT_CFG,8,3         ; @FE_REG_DLY_INT_CFG
	.comm	_fe_reg_table,8,3               ; @fe_reg_table
	.comm	_FE_REG_FE_DMA_VID_BASE,8,3     ; @FE_REG_FE_DMA_VID_BASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to get clock\n"

	.comm	_FE_REG_FE_RST_GL,8,3           ; @FE_REG_FE_RST_GL
	.no_dead_strip	_fe_hw_init
.subsections_via_symbols
