	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftgmac100_init_all
_ftgmac100_init_all:                    ## @ftgmac100_init_all
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_ftgmac100_init_rings
	movq	%rbx, %rdi
	callq	_ftgmac100_alloc_rx_buffers
	movl	%eax, %r14d
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.1:
	testl	%r14d, %r14d
	jne	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_ftgmac100_init_hw
	movq	%rbx, %rdi
	callq	_ftgmac100_config_pause
	movq	%rbx, %rdi
	callq	_ftgmac100_start_hw
	leaq	12(%rbx), %rdi
	callq	_napi_enable
	movl	8(%rbx), %edi
	callq	_netif_start_queue
	movq	_FTGMAC100_INT_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FTGMAC100_OFFSET_IER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_iowrite32
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FTGMAC100_INT_ALL,4,2          ## @FTGMAC100_INT_ALL
	.comm	_FTGMAC100_OFFSET_IER,8,3       ## @FTGMAC100_OFFSET_IER
	.no_dead_strip	_ftgmac100_init_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftgmac100_init_all
_ftgmac100_init_all:                    ; @ftgmac100_init_all
	.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, x1
	mov	x20, x0
	bl	_ftgmac100_init_rings
	mov	x0, x20
	bl	_ftgmac100_alloc_rx_buffers
	mov	x19, x0
	cbnz	w21, LBB0_2
; %bb.1:
	cbnz	w19, LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_ftgmac100_init_hw
	mov	x0, x20
	bl	_ftgmac100_config_pause
	mov	x0, x20
	bl	_ftgmac100_start_hw
	add	x0, x20, #12
	bl	_napi_enable
	ldr	w0, [x20, #8]
	bl	_netif_start_queue
Lloh0:
	adrp	x8, _FTGMAC100_INT_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FTGMAC100_INT_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _FTGMAC100_OFFSET_IER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FTGMAC100_OFFSET_IER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_iowrite32
LBB0_3:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FTGMAC100_INT_ALL,4,2          ; @FTGMAC100_INT_ALL
	.comm	_FTGMAC100_OFFSET_IER,8,3       ; @FTGMAC100_OFFSET_IER
	.no_dead_strip	_ftgmac100_init_all
.subsections_via_symbols
