	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adap_init1
_adap_init1:                            ## @adap_init1
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_FW_CAPS_CONFIG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP
	movq	_FW_CMD_REQUEST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FW_CMD_READ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 8(%rbx)
	subq	$32, %rsp
	movq	16(%rbx), %rax
	movq	%rax, 16(%rsp)
	movups	(%rbx), %xmm0
	movups	%xmm0, (%rsp)
	callq	_FW_LEN16
	addq	$32, %rsp
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 16(%rbx)
	movl	(%r14), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	$24, %ecx
	movq	%rbx, %r8
	callq	_t4_wr_mbox
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_11
## %bb.1:
	movl	(%rbx), %r12d
	movq	_FW_CAPS_CONFIG_NIC_VM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	_vf_acls@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	testl	%r12d, %eax
	je	LBB0_9
## %bb.2:
	movq	_FW_CAPS_CONFIG_NIC_VM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	testq	%r13, %r13
	jne	LBB0_3
## %bb.8:
	xorl	(%rbx), %eax
LBB0_3:
	movq	_FW_CAPS_CONFIG_CMD@GOTPCREL(%rip), %rcx
	movq	_FW_CMD_REQUEST@GOTPCREL(%rip), %r12
	movl	%eax, (%rbx)
LBB0_4:
	movl	(%rcx), %edi
	callq	_FW_CMD_OP
	orl	(%r12), %eax
	movq	_FW_CMD_WRITE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 8(%rbx)
	movl	(%r14), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	$24, %ecx
	xorl	%r8d, %r8d
	callq	_t4_wr_mbox
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	movl	(%r14), %esi
	movq	_FW_RSS_GLB_CONFIG_CMD_MODE_BASICVIRTUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FW_RSS_GLB_CONFIG_CMD_TNLMAPEN@GOTPCREL(%rip), %rax
	movq	_FW_RSS_GLB_CONFIG_CMD_TNLALLLKP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_t4_config_glbl_rss
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movl	(%r14), %edx
	movq	_MAX_EGRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MAX_INGQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FW_CMD_CAP_PF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%edx, %esi
	xorl	%ecx, %ecx
	movl	$64, %r9d
	pushq	%rbx
	pushq	%rbx
	pushq	$16
	pushq	$15
	pushq	$15
	pushq	$4
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	_t4_cfg_pfvf
	addq	$80, %rsp
	testl	%eax, %eax
	js	LBB0_7
## %bb.12:
	movq	%r14, %rdi
	callq	_t4_sge_init
	movq	_TP_SHIFT_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$105875529, %edx                ## imm = 0x64F8849
	callq	_t4_write_reg
	movq	_ULP_RX_TDDP_PSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$-12, %rdi
	callq	_HPZ0
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_t4_write_reg
	movq	_TP_PIO_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TP_INGRESS_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_t4_write_reg
	movq	_TP_PIO_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_t4_read_reg
	movl	(%rbx), %esi
	movq	_CSUM_HAS_PSEUDO_HDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r14, %rdi
	callq	_t4_write_reg
	movl	(%r14), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t4_early_init                  ## TAILCALL
LBB0_7:
	movl	%eax, %r15d
	jmp	LBB0_11
LBB0_9:
	testq	%r13, %r13
	movq	_FW_CAPS_CONFIG_CMD@GOTPCREL(%rip), %rcx
	movq	_FW_CMD_REQUEST@GOTPCREL(%rip), %r12
	je	LBB0_4
## %bb.10:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_CAPS_CONFIG_CMD,4,2         ## @FW_CAPS_CONFIG_CMD
	.comm	_FW_CMD_REQUEST,4,2             ## @FW_CMD_REQUEST
	.comm	_FW_CMD_READ,4,2                ## @FW_CMD_READ
	.comm	_FW_CAPS_CONFIG_NIC_VM,4,2      ## @FW_CAPS_CONFIG_NIC_VM
	.comm	_vf_acls,8,3                    ## @vf_acls
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"virtualization ACLs not supported"

	.comm	_FW_CMD_WRITE,4,2               ## @FW_CMD_WRITE
	.comm	_FW_RSS_GLB_CONFIG_CMD_MODE_BASICVIRTUAL,4,2 ## @FW_RSS_GLB_CONFIG_CMD_MODE_BASICVIRTUAL
	.comm	_FW_RSS_GLB_CONFIG_CMD_TNLMAPEN,4,2 ## @FW_RSS_GLB_CONFIG_CMD_TNLMAPEN
	.comm	_FW_RSS_GLB_CONFIG_CMD_TNLALLLKP,4,2 ## @FW_RSS_GLB_CONFIG_CMD_TNLALLLKP
	.comm	_MAX_EGRQ,4,2                   ## @MAX_EGRQ
	.comm	_MAX_INGQ,4,2                   ## @MAX_INGQ
	.comm	_FW_CMD_CAP_PF,4,2              ## @FW_CMD_CAP_PF
	.comm	_TP_SHIFT_CNT,4,2               ## @TP_SHIFT_CNT
	.comm	_ULP_RX_TDDP_PSZ,4,2            ## @ULP_RX_TDDP_PSZ
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_TP_PIO_ADDR,4,2                ## @TP_PIO_ADDR
	.comm	_TP_INGRESS_CONFIG,4,2          ## @TP_INGRESS_CONFIG
	.comm	_TP_PIO_DATA,4,2                ## @TP_PIO_DATA
	.comm	_CSUM_HAS_PSEUDO_HDR,4,2        ## @CSUM_HAS_PSEUDO_HDR
	.no_dead_strip	_adap_init1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adap_init1
_adap_init1:                            ; @adap_init1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x22, _FW_CAPS_CONFIG_CMD@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FW_CAPS_CONFIG_CMD@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_FW_CMD_OP
Lloh2:
	adrp	x23, _FW_CMD_REQUEST@GOTPAGE
Lloh3:
	ldr	x23, [x23, _FW_CMD_REQUEST@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w8, w8, w0
Lloh4:
	adrp	x9, _FW_CMD_READ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FW_CMD_READ@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_htonl
	str	x0, [x20, #8]
	ldr	q0, [x20]
	str	q0, [sp, #32]
	ldr	x8, [x20, #16]
	str	x8, [sp, #48]
	add	x0, sp, #32
	bl	_FW_LEN16
	bl	_htonl
	str	x0, [x20, #16]
	ldr	w1, [x19]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #24
	mov	x4, x20
	bl	_t4_wr_mbox
	mov	x21, x0
	tbnz	w0, #31, LBB0_12
; %bb.1:
	ldr	w26, [x20]
Lloh7:
	adrp	x25, _FW_CAPS_CONFIG_NIC_VM@GOTPAGE
Lloh8:
	ldr	x25, [x25, _FW_CAPS_CONFIG_NIC_VM@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_htons
Lloh9:
	adrp	x8, _vf_acls@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vf_acls@GOTPAGEOFF]
Lloh11:
	ldr	x24, [x8]
	tst	w0, w26
	b.eq	LBB0_10
; %bb.2:
	ldr	w0, [x25]
	bl	_htons
	cbnz	x24, LBB0_4
; %bb.3:
	ldr	w8, [x20]
	eor	w0, w8, w0
LBB0_4:
	str	w0, [x20]
LBB0_5:
	ldr	w0, [x22]
	bl	_FW_CMD_OP
	ldr	w8, [x23]
	orr	w8, w8, w0
Lloh12:
	adrp	x9, _FW_CMD_WRITE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FW_CMD_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_htonl
	str	x0, [x20, #8]
	ldr	w1, [x19]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #24
	mov	x4, #0
	bl	_t4_wr_mbox
	tbnz	w0, #31, LBB0_9
; %bb.6:
	ldr	w1, [x19]
Lloh15:
	adrp	x8, _FW_RSS_GLB_CONFIG_CMD_MODE_BASICVIRTUAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FW_RSS_GLB_CONFIG_CMD_MODE_BASICVIRTUAL@GOTPAGEOFF]
Lloh17:
	adrp	x9, _FW_RSS_GLB_CONFIG_CMD_TNLMAPEN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FW_RSS_GLB_CONFIG_CMD_TNLMAPEN@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	ldr	w8, [x9]
Lloh21:
	adrp	x9, _FW_RSS_GLB_CONFIG_CMD_TNLALLLKP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FW_RSS_GLB_CONFIG_CMD_TNLALLLKP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x19
	bl	_t4_config_glbl_rss
	tbnz	w0, #31, LBB0_9
; %bb.7:
	ldr	w1, [x19]
Lloh24:
	adrp	x8, _MAX_EGRQ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MAX_EGRQ@GOTPAGEOFF]
Lloh26:
	ldr	w4, [x8]
Lloh27:
	adrp	x8, _MAX_INGQ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MAX_INGQ@GOTPAGEOFF]
Lloh29:
	ldr	w6, [x8]
Lloh30:
	adrp	x8, _FW_CMD_CAP_PF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FW_CMD_CAP_PF@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	stp	w8, w8, [sp, #20]
	mov	w9, #16
	str	w9, [sp, #16]
	mov	x8, #64424509455
	mov	x9, #17179869184
	stp	x9, x8, [sp]
	mov	x0, x19
	mov	x2, x1
	mov	w3, #0
	mov	w5, #64
	mov	w7, #0
	bl	_t4_cfg_pfvf
	tbnz	w0, #31, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_t4_sge_init
Lloh33:
	adrp	x8, _TP_SHIFT_CNT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TP_SHIFT_CNT@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #34889
	movk	w2, #1615, lsl #16
	bl	_t4_write_reg
Lloh36:
	adrp	x8, _ULP_RX_TDDP_PSZ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ULP_RX_TDDP_PSZ@GOTPAGEOFF]
Lloh38:
	ldr	w20, [x8]
Lloh39:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	sub	x0, x8, #12
	bl	_HPZ0
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_t4_write_reg
Lloh42:
	adrp	x8, _TP_PIO_ADDR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TP_PIO_ADDR@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
Lloh45:
	adrp	x8, _TP_INGRESS_CONFIG@GOTPAGE
Lloh46:
	ldr	x8, [x8, _TP_INGRESS_CONFIG@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_t4_write_reg
Lloh48:
	adrp	x20, _TP_PIO_DATA@GOTPAGE
Lloh49:
	ldr	x20, [x20, _TP_PIO_DATA@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_t4_read_reg
	ldr	w1, [x20]
Lloh50:
	adrp	x8, _CSUM_HAS_PSEUDO_HDR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _CSUM_HAS_PSEUDO_HDR@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	bl	_t4_write_reg
	ldr	w1, [x19]
	mov	x0, x19
	bl	_t4_early_init
LBB0_9:
	mov	x21, x0
	b	LBB0_12
LBB0_10:
	cbz	x24, LBB0_5
; %bb.11:
	ldr	w0, [x19, #4]
Lloh53:
	adrp	x1, l_.str@PAGE
Lloh54:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_CAPS_CONFIG_CMD,4,2         ; @FW_CAPS_CONFIG_CMD
	.comm	_FW_CMD_REQUEST,4,2             ; @FW_CMD_REQUEST
	.comm	_FW_CMD_READ,4,2                ; @FW_CMD_READ
	.comm	_FW_CAPS_CONFIG_NIC_VM,4,2      ; @FW_CAPS_CONFIG_NIC_VM
	.comm	_vf_acls,8,3                    ; @vf_acls
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"virtualization ACLs not supported"

	.comm	_FW_CMD_WRITE,4,2               ; @FW_CMD_WRITE
	.comm	_FW_RSS_GLB_CONFIG_CMD_MODE_BASICVIRTUAL,4,2 ; @FW_RSS_GLB_CONFIG_CMD_MODE_BASICVIRTUAL
	.comm	_FW_RSS_GLB_CONFIG_CMD_TNLMAPEN,4,2 ; @FW_RSS_GLB_CONFIG_CMD_TNLMAPEN
	.comm	_FW_RSS_GLB_CONFIG_CMD_TNLALLLKP,4,2 ; @FW_RSS_GLB_CONFIG_CMD_TNLALLLKP
	.comm	_MAX_EGRQ,4,2                   ; @MAX_EGRQ
	.comm	_MAX_INGQ,4,2                   ; @MAX_INGQ
	.comm	_FW_CMD_CAP_PF,4,2              ; @FW_CMD_CAP_PF
	.comm	_TP_SHIFT_CNT,4,2               ; @TP_SHIFT_CNT
	.comm	_ULP_RX_TDDP_PSZ,4,2            ; @ULP_RX_TDDP_PSZ
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_TP_PIO_ADDR,4,2                ; @TP_PIO_ADDR
	.comm	_TP_INGRESS_CONFIG,4,2          ; @TP_INGRESS_CONFIG
	.comm	_TP_PIO_DATA,4,2                ; @TP_PIO_DATA
	.comm	_CSUM_HAS_PSEUDO_HDR,4,2        ; @CSUM_HAS_PSEUDO_HDR
	.no_dead_strip	_adap_init1
.subsections_via_symbols
