	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1251_acx_data_path_params    ## -- Begin function wl1251_acx_data_path_params
	.p2align	4, 0x90
_wl1251_acx_data_path_params:           ## @wl1251_acx_data_path_params
	.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, %r14
	movq	%rdi, %r15
	movq	_DEBUG_ACX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wl1251_debug
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$28, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_DP_RX_PACKET_RING_CHUNK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_DP_TX_PACKET_RING_CHUNK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_DP_RX_PACKET_RING_CHUNK_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_DP_TX_PACKET_RING_CHUNK_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$1, (%rbx)
	movq	_FW_TX_CMPLT_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_DP_TX_COMPLETE_TIME_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ACX_DATA_PATH_PARAMS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movl	$28, %ecx
	callq	_wl1251_cmd_configure
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	(%r13), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$8, %ecx
	callq	_wl1251_cmd_interrogate
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	(%r14), %rax
	movq	_CMD_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_wl1251_warning
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_9
LBB0_3:
	movl	%eax, %r12d
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_wl1251_warning
LBB0_8:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_ACX,4,2                  ## @DEBUG_ACX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acx data path params"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DP_RX_PACKET_RING_CHUNK_SIZE,4,2 ## @DP_RX_PACKET_RING_CHUNK_SIZE
	.comm	_DP_TX_PACKET_RING_CHUNK_SIZE,4,2 ## @DP_TX_PACKET_RING_CHUNK_SIZE
	.comm	_DP_RX_PACKET_RING_CHUNK_NUM,4,2 ## @DP_RX_PACKET_RING_CHUNK_NUM
	.comm	_DP_TX_PACKET_RING_CHUNK_NUM,4,2 ## @DP_TX_PACKET_RING_CHUNK_NUM
	.comm	_FW_TX_CMPLT_BLOCK_SIZE,4,2     ## @FW_TX_CMPLT_BLOCK_SIZE
	.comm	_DP_TX_COMPLETE_TIME_OUT,4,2    ## @DP_TX_COMPLETE_TIME_OUT
	.comm	_ACX_DATA_PATH_PARAMS,4,2       ## @ACX_DATA_PATH_PARAMS
L_.str.1:                               ## @.str.1
	.asciz	"failed to read data path parameters: %d"

	.comm	_CMD_STATUS_SUCCESS,8,3         ## @CMD_STATUS_SUCCESS
L_.str.2:                               ## @.str.2
	.asciz	"data path parameter acx status failed"

	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1251_acx_data_path_params    ; -- Begin function wl1251_acx_data_path_params
	.p2align	2
_wl1251_acx_data_path_params:           ; @wl1251_acx_data_path_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _DEBUG_ACX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG_ACX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wl1251_debug
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #28
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh8:
	adrp	x8, _DP_RX_PACKET_RING_CHUNK_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DP_RX_PACKET_RING_CHUNK_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _DP_TX_PACKET_RING_CHUNK_SIZE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DP_TX_PACKET_RING_CHUNK_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #20]
Lloh14:
	adrp	x8, _DP_RX_PACKET_RING_CHUNK_NUM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DP_RX_PACKET_RING_CHUNK_NUM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _DP_TX_PACKET_RING_CHUNK_NUM@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DP_TX_PACKET_RING_CHUNK_NUM@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #12]
	mov	w8, #1
	str	w8, [x0]
Lloh20:
	adrp	x8, _FW_TX_CMPLT_BLOCK_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FW_TX_CMPLT_BLOCK_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _DP_TX_COMPLETE_TIME_OUT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DP_TX_COMPLETE_TIME_OUT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #4]
Lloh26:
	adrp	x23, _ACX_DATA_PATH_PARAMS@GOTPAGE
Lloh27:
	ldr	x23, [x23, _ACX_DATA_PATH_PARAMS@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	mov	x2, x19
	mov	w3, #28
	bl	_wl1251_cmd_configure
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	w1, [x23]
	mov	x0, x21
	mov	x2, x20
	mov	w3, #8
	bl	_wl1251_cmd_interrogate
	mov	x22, x0
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	x8, [x20]
Lloh28:
	adrp	x9, _CMD_STATUS_SUCCESS@GOTPAGE
Lloh29:
	ldr	x9, [x9, _CMD_STATUS_SUCCESS@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.4:
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_wl1251_warning
Lloh33:
	adrp	x8, _EIO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_5:
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_9
LBB0_6:
	mov	x22, x0
	b	LBB0_8
LBB0_7:
	str	x22, [sp]
Lloh39:
	adrp	x0, l_.str.1@PAGE
Lloh40:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_wl1251_warning
LBB0_8:
	mov	x0, x19
	bl	_kfree
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_ACX,4,2                  ; @DEBUG_ACX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acx data path params"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DP_RX_PACKET_RING_CHUNK_SIZE,4,2 ; @DP_RX_PACKET_RING_CHUNK_SIZE
	.comm	_DP_TX_PACKET_RING_CHUNK_SIZE,4,2 ; @DP_TX_PACKET_RING_CHUNK_SIZE
	.comm	_DP_RX_PACKET_RING_CHUNK_NUM,4,2 ; @DP_RX_PACKET_RING_CHUNK_NUM
	.comm	_DP_TX_PACKET_RING_CHUNK_NUM,4,2 ; @DP_TX_PACKET_RING_CHUNK_NUM
	.comm	_FW_TX_CMPLT_BLOCK_SIZE,4,2     ; @FW_TX_CMPLT_BLOCK_SIZE
	.comm	_DP_TX_COMPLETE_TIME_OUT,4,2    ; @DP_TX_COMPLETE_TIME_OUT
	.comm	_ACX_DATA_PATH_PARAMS,4,2       ; @ACX_DATA_PATH_PARAMS
l_.str.1:                               ; @.str.1
	.asciz	"failed to read data path parameters: %d"

	.comm	_CMD_STATUS_SUCCESS,8,3         ; @CMD_STATUS_SUCCESS
l_.str.2:                               ; @.str.2
	.asciz	"data path parameter acx status failed"

	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
