	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_adhoc_start            ## -- Begin function mwifiex_adhoc_start
	.p2align	4, 0x90
_mwifiex_adhoc_start:                   ## @mwifiex_adhoc_start
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	_INFO@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	16(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	movl	12(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
	callq	_mwifiex_dbg
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	movl	8(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdx
	callq	_mwifiex_dbg
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_ISSUPP_11ACENABLED
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_BAND_AAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_mwifiex_set_11ac_ba_params
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_mwifiex_set_ba_params
LBB0_4:
	movq	_HostCmd_CMD_802_11_AD_HOC_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movl	$1, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_send_cmd               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"info: Adhoc Channel = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"info: curr_bss_params.channel = %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"info: curr_bss_params.band = %d\n"

	.comm	_BAND_AAC,4,2                   ## @BAND_AAC
	.comm	_HostCmd_CMD_802_11_AD_HOC_START,4,2 ## @HostCmd_CMD_802_11_AD_HOC_START
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_adhoc_start            ; -- Begin function mwifiex_adhoc_start
	.p2align	2
_mwifiex_adhoc_start:                   ; @mwifiex_adhoc_start
	.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, x1
	mov	x20, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x21, _INFO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _INFO@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w3, [x20, #16]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
	ldr	x0, [x20]
	ldr	w1, [x21]
	ldr	w3, [x20, #12]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_mwifiex_dbg
	ldr	x0, [x20]
	ldr	w1, [x21]
	ldr	w3, [x20, #8]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_mwifiex_dbg
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	bl	_ISSUPP_11ACENABLED
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _BAND_AAC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BAND_AAC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_mwifiex_set_11ac_ba_params
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_mwifiex_set_ba_params
LBB0_4:
Lloh11:
	adrp	x8, _HostCmd_CMD_802_11_AD_HOC_START@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HostCmd_CMD_802_11_AD_HOC_START@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	mov	x4, x19
	mov	w5, #1
	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
	b	_mwifiex_send_cmd
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"info: Adhoc Channel = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"info: curr_bss_params.channel = %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"info: curr_bss_params.band = %d\n"

	.comm	_BAND_AAC,4,2                   ; @BAND_AAC
	.comm	_HostCmd_CMD_802_11_AD_HOC_START,4,2 ; @HostCmd_CMD_802_11_AD_HOC_START
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
.subsections_via_symbols
