	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbmac_initctx
_sbmac_initctx:                         ## @sbmac_initctx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	_R_MAC_ENABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 80(%rdi)
	movq	_R_MAC_CFG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 72(%rdi)
	movq	_R_MAC_THRSH_CFG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 64(%rdi)
	movq	_R_MAC_FRAMECFG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 56(%rdi)
	movq	_R_MAC_ADFILTER_CFG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 48(%rdi)
	movq	_R_MAC_STATUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 40(%rdi)
	movq	_R_MAC_INT_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 32(%rdi)
	movq	_R_MAC_MDIO@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 24(%rdi)
	addq	$8, %rdi
	movq	_DMA_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SBMAC_MAX_TXDESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sbdma_initctx
	leaq	4(%rbx), %rdi
	movq	_DMA_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SBMAC_MAX_RXDESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sbdma_initctx
	movq	_sbmac_state_off@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_MAC_ENABLE,8,3               ## @R_MAC_ENABLE
	.comm	_R_MAC_CFG,8,3                  ## @R_MAC_CFG
	.comm	_R_MAC_THRSH_CFG,8,3            ## @R_MAC_THRSH_CFG
	.comm	_R_MAC_FRAMECFG,8,3             ## @R_MAC_FRAMECFG
	.comm	_R_MAC_ADFILTER_CFG,8,3         ## @R_MAC_ADFILTER_CFG
	.comm	_R_MAC_STATUS,8,3               ## @R_MAC_STATUS
	.comm	_R_MAC_INT_MASK,8,3             ## @R_MAC_INT_MASK
	.comm	_R_MAC_MDIO,8,3                 ## @R_MAC_MDIO
	.comm	_DMA_TX,4,2                     ## @DMA_TX
	.comm	_SBMAC_MAX_TXDESCR,4,2          ## @SBMAC_MAX_TXDESCR
	.comm	_DMA_RX,4,2                     ## @DMA_RX
	.comm	_SBMAC_MAX_RXDESCR,4,2          ## @SBMAC_MAX_RXDESCR
	.comm	_sbmac_state_off,4,2            ## @sbmac_state_off
	.no_dead_strip	_sbmac_initctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbmac_initctx
_sbmac_initctx:                         ; @sbmac_initctx
	.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	x19, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _R_MAC_ENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R_MAC_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _R_MAC_CFG@GOTPAGE
Lloh4:
	ldr	x10, [x10, _R_MAC_CFG@GOTPAGEOFF]
	add	x9, x9, x8
Lloh5:
	ldr	x10, [x10]
	add	x10, x10, x8
Lloh6:
	adrp	x11, _R_MAC_THRSH_CFG@GOTPAGE
Lloh7:
	ldr	x11, [x11, _R_MAC_THRSH_CFG@GOTPAGEOFF]
	stp	x10, x9, [x0, #72]
Lloh8:
	ldr	x9, [x11]
	add	x9, x9, x8
Lloh9:
	adrp	x10, _R_MAC_FRAMECFG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _R_MAC_FRAMECFG@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	add	x10, x10, x8
	stp	x10, x9, [x0, #56]
Lloh12:
	adrp	x9, _R_MAC_ADFILTER_CFG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _R_MAC_ADFILTER_CFG@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x9, x9, x8
Lloh15:
	adrp	x10, _R_MAC_STATUS@GOTPAGE
Lloh16:
	ldr	x10, [x10, _R_MAC_STATUS@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	add	x10, x10, x8
	stp	x10, x9, [x0, #40]
Lloh18:
	adrp	x9, _R_MAC_INT_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _R_MAC_INT_MASK@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _R_MAC_MDIO@GOTPAGE
Lloh22:
	ldr	x10, [x10, _R_MAC_MDIO@GOTPAGEOFF]
	add	x9, x9, x8
Lloh23:
	ldr	x10, [x10]
	add	x8, x10, x8
	stp	x8, x9, [x0, #24]
	add	x0, x0, #8
Lloh24:
	adrp	x8, _DMA_TX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DMA_TX@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
Lloh27:
	adrp	x8, _SBMAC_MAX_TXDESCR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SBMAC_MAX_TXDESCR@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
	mov	x1, x19
	mov	w2, #0
	bl	_sbdma_initctx
	add	x0, x19, #4
Lloh30:
	adrp	x8, _DMA_RX@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DMA_RX@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
Lloh33:
	adrp	x8, _SBMAC_MAX_RXDESCR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SBMAC_MAX_RXDESCR@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
	mov	x1, x19
	mov	w2, #0
	bl	_sbdma_initctx
Lloh36:
	adrp	x8, _sbmac_state_off@GOTPAGE
Lloh37:
	ldr	x8, [x8, _sbmac_state_off@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R_MAC_ENABLE,8,3               ; @R_MAC_ENABLE
	.comm	_R_MAC_CFG,8,3                  ; @R_MAC_CFG
	.comm	_R_MAC_THRSH_CFG,8,3            ; @R_MAC_THRSH_CFG
	.comm	_R_MAC_FRAMECFG,8,3             ; @R_MAC_FRAMECFG
	.comm	_R_MAC_ADFILTER_CFG,8,3         ; @R_MAC_ADFILTER_CFG
	.comm	_R_MAC_STATUS,8,3               ; @R_MAC_STATUS
	.comm	_R_MAC_INT_MASK,8,3             ; @R_MAC_INT_MASK
	.comm	_R_MAC_MDIO,8,3                 ; @R_MAC_MDIO
	.comm	_DMA_TX,4,2                     ; @DMA_TX
	.comm	_SBMAC_MAX_TXDESCR,4,2          ; @SBMAC_MAX_TXDESCR
	.comm	_DMA_RX,4,2                     ; @DMA_RX
	.comm	_SBMAC_MAX_RXDESCR,4,2          ; @SBMAC_MAX_RXDESCR
	.comm	_sbmac_state_off,4,2            ; @sbmac_state_off
	.no_dead_strip	_sbmac_initctx
.subsections_via_symbols
