	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_send_go_probe_resp
_ath6kl_send_go_probe_resp:             ## @ath6kl_send_go_probe_resp
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	8(%r15), %rbx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r14,4), %r12
	leaq	4(%rbx), %r15
	xorl	%r14d, %r14d
	cmpq	%r12, %r15
	jae	LBB0_10
## %bb.4:
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cltq
	leaq	(%rbx,%rax,4), %r15
	addq	$12, %r15
	leaq	(%rbx,%rax,4), %rbx
	addq	$8, %rbx
	cmpq	%r12, %r15
	jae	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%rbx), %rax
	leaq	(%rbx,%rax,4), %rax
	addq	$8, %rax
	cmpq	%r12, %rax
	ja	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_ath6kl_is_p2p_ie
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%r14d, %r14
	leaq	(,%r14,4), %rdi
	addq	%r13, %rdi
	movl	(%r15), %edx
	addl	$2, %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movl	(%r15), %eax
	addl	%eax, %r14d
	addl	$2, %r14d
	jmp	LBB0_9
LBB0_10:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %r8
	movl	%r14d, %r9d
	callq	_ath6kl_wmi_send_probe_response_cmd
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_kfree
	movl	%ebx, %eax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ath6kl_send_go_probe_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_send_go_probe_resp
_ath6kl_send_go_probe_resp:             ; @ath6kl_send_go_probe_resp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x25, [x0, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_kmalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	x24, [x21, #8]
	add	x26, x21, x23, lsl #2
	add	x27, x24, #4
	cmp	x27, x26
	b.hs	LBB0_9
; %bb.2:
	mov	w23, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w8, #2
	add	x24, x24, w8, sxtw #2
	add	x27, x24, #4
	cmp	x27, x26
	b.hs	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x24, #4]
	add	x8, x24, x8, lsl #2
	add	x8, x8, #8
	cmp	x8, x26
	b.hi	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_ath6kl_is_p2p_ie
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x20, w23, sxtw #2
	ldr	w8, [x27]
	add	w2, w8, #2
	mov	x1, x24
	bl	_memcpy
	ldr	w8, [x27]
	add	w9, w23, w8
	add	w23, w9, #2
	b	LBB0_4
LBB0_8:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_9:
	mov	w23, #0
LBB0_10:
	ldr	w0, [x25]
	ldr	w1, [x22]
	ldr	w3, [x21]
	mov	x2, x19
	mov	x4, x20
	mov	x5, x23
	bl	_ath6kl_wmi_send_probe_response_cmd
	mov	x19, x0
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ath6kl_send_go_probe_resp
.subsections_via_symbols
