	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wcn36xx_smd_config_bss_rsp
_wcn36xx_smd_config_bss_rsp:            ## @wcn36xx_smd_config_bss_rsp
	.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	%r8, %rbx
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %rdi
	callq	_wcn36xx_vif_to_priv
	cmpq	$39, %rbx
	ja	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movq	%rax, %r14
	movq	(%r12), %rdx
	movq	_WCN36XX_FW_MSG_RESULT_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_4
## %bb.5:
	movq	_WCN36XX_DBG_HAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%r12), %ecx
	movl	8(%r12), %r13d
	movl	12(%r12), %r8d
	movl	16(%r12), %r9d
	movl	36(%r12), %r10d
	movl	32(%r12), %r11d
	movl	28(%r12), %ebx
	movl	24(%r12), %eax
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
	pushq	%r13
	pushq	%rax
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_wcn36xx_dbg
	addq	$48, %rsp
	movl	20(%r12), %eax
	movl	%eax, 4(%r14)
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_wcn36xx_sta_to_priv
	movl	16(%r12), %ecx
	movl	%ecx, 4(%rax)
	movl	12(%r12), %ecx
	movl	%ecx, (%rax)
LBB0_7:
	movl	8(%r12), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%rdx, %rsi
	callq	_wcn36xx_warn
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WCN36XX_FW_MSG_RESULT_SUCCESS,8,3 ## @WCN36XX_FW_MSG_RESULT_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hal config bss response failure: %d\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_WCN36XX_DBG_HAL,4,2            ## @WCN36XX_DBG_HAL
L_.str.1:                               ## @.str.1
	.asciz	"hal config bss rsp status %d bss_idx %d dpu_desc_index %d sta_idx %d self_idx %d bcast_idx %d mac %pM power %d ucast_dpu_signature %d\n"

	.no_dead_strip	_wcn36xx_smd_config_bss_rsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wcn36xx_smd_config_bss_rsp
_wcn36xx_smd_config_bss_rsp:            ; @wcn36xx_smd_config_bss_rsp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x4
	mov	x19, x3
	mov	x21, x2
	mov	x0, x1
	bl	_wcn36xx_vif_to_priv
	cmp	x22, #39
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	ldr	x2, [x19]
Lloh2:
	adrp	x8, _WCN36XX_FW_MSG_RESULT_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WCN36XX_FW_MSG_RESULT_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_6
; %bb.3:
	mov	x20, x0
Lloh5:
	adrp	x8, _WCN36XX_DBG_HAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WCN36XX_DBG_HAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	w5, w3, [x19, #16]
	ldp	w7, w6, [x19, #32]
	ldp	w9, w8, [x19, #24]
	ldp	w10, w4, [x19, #8]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wcn36xx_dbg
	ldr	w8, [x19, #20]
	str	w8, [x20, #4]
	cbz	x21, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_wcn36xx_sta_to_priv
	ldur	d0, [x19, #12]
	str	d0, [x0]
LBB0_5:
	mov	w0, #0
	ldr	w8, [x19, #8]
	str	w8, [x20]
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x2
	bl	_wcn36xx_warn
Lloh12:
	adrp	x8, _EIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WCN36XX_FW_MSG_RESULT_SUCCESS,8,3 ; @WCN36XX_FW_MSG_RESULT_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hal config bss response failure: %d\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_WCN36XX_DBG_HAL,4,2            ; @WCN36XX_DBG_HAL
l_.str.1:                               ; @.str.1
	.asciz	"hal config bss rsp status %d bss_idx %d dpu_desc_index %d sta_idx %d self_idx %d bcast_idx %d mac %pM power %d ucast_dpu_signature %d\n"

	.no_dead_strip	_wcn36xx_smd_config_bss_rsp
.subsections_via_symbols
