	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adap_init0_tweaks
_adap_init0_tweaks:                     ## @adap_init0_tweaks
	.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, %rbx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_L1_CACHE_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_t4_fixup_host_params
	movq	_rx_dma_offset@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	testl	$-3, %edx
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	$2, (%r12)
LBB0_2:
	movq	_SGE_CONTROL_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_PKTSHIFT_M@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PKTSHIFT_V
	movl	%eax, %r15d
	movl	(%r12), %edi
	callq	_PKTSHIFT_V
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_t4_set_reg_field
	movq	_TP_INGRESS_CONFIG_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSUM_HAS_PSEUDO_HDR_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_t4_tp_wr_bits_indirect
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_L1_CACHE_BYTES,4,2             ## @L1_CACHE_BYTES
	.comm	_rx_dma_offset,4,2              ## @rx_dma_offset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignoring illegal rx_dma_offset=%d, using 2\n"

	.comm	_SGE_CONTROL_A,4,2              ## @SGE_CONTROL_A
	.comm	_PKTSHIFT_M,4,2                 ## @PKTSHIFT_M
	.comm	_TP_INGRESS_CONFIG_A,4,2        ## @TP_INGRESS_CONFIG_A
	.comm	_CSUM_HAS_PSEUDO_HDR_F,4,2      ## @CSUM_HAS_PSEUDO_HDR_F
	.no_dead_strip	_adap_init0_tweaks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adap_init0_tweaks
_adap_init0_tweaks:                     ; @adap_init0_tweaks
	.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	x19, x0
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _L1_CACHE_BYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _L1_CACHE_BYTES@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_t4_fixup_host_params
Lloh6:
	adrp	x22, _rx_dma_offset@GOTPAGE
Lloh7:
	ldr	x22, [x22, _rx_dma_offset@GOTPAGEOFF]
	ldr	w2, [x22]
	tst	w2, #0xfffffffd
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w8, #2
	str	w8, [x22]
LBB0_2:
Lloh10:
	adrp	x8, _SGE_CONTROL_A@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SGE_CONTROL_A@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
Lloh13:
	adrp	x8, _PKTSHIFT_M@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PKTSHIFT_M@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_PKTSHIFT_V
	mov	x21, x0
	ldr	w0, [x22]
	bl	_PKTSHIFT_V
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_t4_set_reg_field
Lloh16:
	adrp	x8, _TP_INGRESS_CONFIG_A@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TP_INGRESS_CONFIG_A@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _CSUM_HAS_PSEUDO_HDR_F@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CSUM_HAS_PSEUDO_HDR_F@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_t4_tp_wr_bits_indirect
	mov	w0, #0
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_L1_CACHE_BYTES,4,2             ; @L1_CACHE_BYTES
	.comm	_rx_dma_offset,4,2              ; @rx_dma_offset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignoring illegal rx_dma_offset=%d, using 2\n"

	.comm	_SGE_CONTROL_A,4,2              ; @SGE_CONTROL_A
	.comm	_PKTSHIFT_M,4,2                 ; @PKTSHIFT_M
	.comm	_TP_INGRESS_CONFIG_A,4,2        ; @TP_INGRESS_CONFIG_A
	.comm	_CSUM_HAS_PSEUDO_HDR_F,4,2      ; @CSUM_HAS_PSEUDO_HDR_F
	.no_dead_strip	_adap_init0_tweaks
.subsections_via_symbols
