	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_init
_xgbe_init:                             ## @xgbe_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DBGPR
	movq	%rbx, %rdi
	callq	_xgbe_flush_tx_queues
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	16(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_xgbe_config_dma_bus
	movq	%rbx, %rdi
	callq	_xgbe_config_dma_cache
	movq	%rbx, %rdi
	callq	_xgbe_config_osp_mode
	movq	%rbx, %rdi
	callq	_xgbe_config_pbl_val
	movq	%rbx, %rdi
	callq	_xgbe_config_rx_coalesce
	movq	%rbx, %rdi
	callq	_xgbe_config_tx_coalesce
	movq	%rbx, %rdi
	callq	_xgbe_config_rx_buffer_size
	movq	%rbx, %rdi
	callq	_xgbe_config_tso_mode
	movq	%rbx, %rdi
	callq	_xgbe_config_sph_mode
	movq	%rbx, %rdi
	callq	_xgbe_config_rss
	movq	%rbx, %rdi
	callq	*32(%rbx)
	movq	%rbx, %rdi
	callq	*24(%rbx)
	movq	%rbx, %rdi
	callq	_xgbe_enable_dma_interrupts
	movq	%rbx, %rdi
	callq	_xgbe_config_mtl_mode
	movq	%rbx, %rdi
	callq	_xgbe_config_queue_mapping
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	callq	_xgbe_config_tsf_mode
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_xgbe_config_rsf_mode
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	callq	_xgbe_config_tx_threshold
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_xgbe_config_rx_threshold
	movq	%rbx, %rdi
	callq	_xgbe_config_tx_fifo_size
	movq	%rbx, %rdi
	callq	_xgbe_config_rx_fifo_size
	movq	%rbx, %rdi
	callq	_xgbe_config_dcb_tc
	movq	%rbx, %rdi
	callq	_xgbe_enable_mtl_interrupts
	movq	%rbx, %rdi
	callq	_xgbe_config_mac_address
	movq	%rbx, %rdi
	callq	_xgbe_config_rx_mode
	movq	%rbx, %rdi
	callq	_xgbe_config_jumbo_enable
	movq	%rbx, %rdi
	callq	_xgbe_config_flow_control
	movq	%rbx, %rdi
	callq	_xgbe_config_mac_speed
	movq	%rbx, %rdi
	callq	_xgbe_config_checksum_offload
	movq	%rbx, %rdi
	callq	_xgbe_config_vlan_support
	movq	%rbx, %rdi
	callq	_xgbe_config_mmc
	movq	%rbx, %rdi
	callq	_xgbe_enable_mac_interrupts
	movq	%rbx, %rdi
	callq	_xgbe_enable_ecc_interrupts
	leaq	L_.str.2(%rip), %rdi
	callq	_DBGPR
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-->xgbe_init\n"

L_.str.1:                               ## @.str.1
	.asciz	"error flushing TX queues\n"

L_.str.2:                               ## @.str.2
	.asciz	"<--xgbe_init\n"

	.no_dead_strip	_xgbe_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_init
_xgbe_init:                             ; @xgbe_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBGPR
	mov	x0, x20
	bl	_xgbe_flush_tx_queues
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20, #16]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_xgbe_config_dma_bus
	mov	x0, x20
	bl	_xgbe_config_dma_cache
	mov	x0, x20
	bl	_xgbe_config_osp_mode
	mov	x0, x20
	bl	_xgbe_config_pbl_val
	mov	x0, x20
	bl	_xgbe_config_rx_coalesce
	mov	x0, x20
	bl	_xgbe_config_tx_coalesce
	mov	x0, x20
	bl	_xgbe_config_rx_buffer_size
	mov	x0, x20
	bl	_xgbe_config_tso_mode
	mov	x0, x20
	bl	_xgbe_config_sph_mode
	mov	x0, x20
	bl	_xgbe_config_rss
	ldr	x8, [x20, #32]
	mov	x0, x20
	blr	x8
	ldr	x8, [x20, #24]
	mov	x0, x20
	blr	x8
	mov	x0, x20
	bl	_xgbe_enable_dma_interrupts
	mov	x0, x20
	bl	_xgbe_config_mtl_mode
	mov	x0, x20
	bl	_xgbe_config_queue_mapping
	ldr	w1, [x20, #12]
	mov	x0, x20
	bl	_xgbe_config_tsf_mode
	ldr	w1, [x20, #8]
	mov	x0, x20
	bl	_xgbe_config_rsf_mode
	ldr	w1, [x20, #4]
	mov	x0, x20
	bl	_xgbe_config_tx_threshold
	ldr	w1, [x20]
	mov	x0, x20
	bl	_xgbe_config_rx_threshold
	mov	x0, x20
	bl	_xgbe_config_tx_fifo_size
	mov	x0, x20
	bl	_xgbe_config_rx_fifo_size
	mov	x0, x20
	bl	_xgbe_config_dcb_tc
	mov	x0, x20
	bl	_xgbe_enable_mtl_interrupts
	mov	x0, x20
	bl	_xgbe_config_mac_address
	mov	x0, x20
	bl	_xgbe_config_rx_mode
	mov	x0, x20
	bl	_xgbe_config_jumbo_enable
	mov	x0, x20
	bl	_xgbe_config_flow_control
	mov	x0, x20
	bl	_xgbe_config_mac_speed
	mov	x0, x20
	bl	_xgbe_config_checksum_offload
	mov	x0, x20
	bl	_xgbe_config_vlan_support
	mov	x0, x20
	bl	_xgbe_config_mmc
	mov	x0, x20
	bl	_xgbe_enable_mac_interrupts
	mov	x0, x20
	bl	_xgbe_enable_ecc_interrupts
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DBGPR
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-->xgbe_init\n"

l_.str.1:                               ; @.str.1
	.asciz	"error flushing TX queues\n"

l_.str.2:                               ; @.str.2
	.asciz	"<--xgbe_init\n"

	.no_dead_strip	_xgbe_init
.subsections_via_symbols
