	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_ret_802_11_hs_cfg      ## -- Begin function mwifiex_ret_802_11_hs_cfg
	.p2align	4, 0x90
_mwifiex_ret_802_11_hs_cfg:             ## @mwifiex_ret_802_11_hs_cfg
	.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	(%rdi), %r12
	movl	24(%rsi), %edi
	callq	_le32_to_cpu
	movq	%rax, %r15
	movq	8(%rbx), %r13
	movq	_HS_ACTIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	cmpq	%rax, %r13
	jne	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	movq	_MWIFIEX_USB@GOTPCREL(%rip), %rcx
	movl	$1, %esi
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_2:
	movq	_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%rbx), %r9d
	movl	(%rbx), %ecx
	movl	16(%rbx), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %r8
	callq	_mwifiex_dbg
	movq	_HS_CFG_CANCEL@GOTPCREL(%rip), %rax
	leaq	16(%r12), %rsi
	movq	_MWIFIEX_IS_HS_CONFIGURED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpq	(%rax), %r15
	jne	LBB0_3
## %bb.4:
	callq	_clear_bit
	xorl	%esi, %esi
	cmpq	$0, 8(%r12)
	je	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	callq	_mwifiex_hs_activated_event
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	callq	_set_bit
	movq	(%r12), %rax
	movq	_MWIFIEX_USB@GOTPCREL(%rip), %rcx
	movl	$1, %esi
	cmpq	(%rcx), %rax
	je	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_HS_ACTIVATE,4,2                ## @HS_ACTIVATE
	.comm	_MWIFIEX_USB,8,3                ## @MWIFIEX_USB
	.comm	_CMD,4,2                        ## @CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd: CMD_RESP: HS_CFG cmd reply\t result=%#x, conditions=0x%x gpio=0x%x gap=0x%x\n"

	.comm	_HS_CFG_CANCEL,8,3              ## @HS_CFG_CANCEL
	.comm	_MWIFIEX_IS_HS_CONFIGURED,4,2   ## @MWIFIEX_IS_HS_CONFIGURED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_ret_802_11_hs_cfg      ; -- Begin function mwifiex_ret_802_11_hs_cfg
	.p2align	2
_mwifiex_ret_802_11_hs_cfg:             ; @mwifiex_ret_802_11_hs_cfg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x0]
	ldr	w0, [x1, #24]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	x23, [x22, #8]
Lloh0:
	adrp	x8, _HS_ACTIVATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HS_ACTIVATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	cmp	x23, x0
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _MWIFIEX_USB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MWIFIEX_USB@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_2:
Lloh6:
	adrp	x8, _CMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w3, [x22]
	ldp	w6, w5, [x22, #16]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x21
	bl	_mwifiex_dbg
Lloh11:
	adrp	x8, _HS_CFG_CANCEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HS_CFG_CANCEL@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _MWIFIEX_IS_HS_CONFIGURED@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MWIFIEX_IS_HS_CONFIGURED@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x9]
	add	x1, x20, #16
	cmp	x21, x8
	b.ne	LBB0_5
; %bb.3:
	bl	_clear_bit
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_8
; %bb.4:
	mov	w1, #0
	b	LBB0_7
LBB0_5:
	bl	_set_bit
	ldr	x8, [x20]
Lloh17:
	adrp	x9, _MWIFIEX_USB@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MWIFIEX_USB@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_6:
	mov	w1, #1
LBB0_7:
	mov	x0, x19
	bl	_mwifiex_hs_activated_event
LBB0_8:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_HS_ACTIVATE,4,2                ; @HS_ACTIVATE
	.comm	_MWIFIEX_USB,8,3                ; @MWIFIEX_USB
	.comm	_CMD,4,2                        ; @CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd: CMD_RESP: HS_CFG cmd reply\t result=%#x, conditions=0x%x gpio=0x%x gap=0x%x\n"

	.comm	_HS_CFG_CANCEL,8,3              ; @HS_CFG_CANCEL
	.comm	_MWIFIEX_IS_HS_CONFIGURED,4,2   ; @MWIFIEX_IS_HS_CONFIGURED
.subsections_via_symbols
