	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_wmi_probedssid_cmd      ## -- Begin function ath6kl_wmi_probedssid_cmd
	.p2align	4, 0x90
_ath6kl_wmi_probedssid_cmd:             ## @ath6kl_wmi_probedssid_cmd
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAX_PROBED_SSIDS@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jle	LBB0_1
## %bb.3:
	movq	%r8, %rbx
	cmpq	$5, %r8
	jae	LBB0_1
## %bb.4:
	movq	%r9, %r12
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rdi, %r15
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movq	_DISABLE_SSID_FLAG@GOTPCREL(%rip), %rax
	movq	_ANY_SSID_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	andq	%r13, %rcx
	jne	LBB0_1
LBB0_6:
	movq	_SPECIFIC_SSID_FLAG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.7:
	movq	%rax, %rcx
	andq	%r13, %rcx
	je	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	testq	%r13, %rax
	je	LBB0_10
## %bb.9:
	movl	$1, (%r15)
LBB0_10:
	movl	$32, %edi
	callq	_ath6kl_wmi_get_new_buf
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	%r14, 24(%rax)
	movq	%r13, 16(%rax)
	movq	%rbx, 8(%rax)
	movl	(%rax), %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	_WMI_SET_PROBED_SSID_CMDID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NO_SYNC_WMIFLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath6kl_wmi_cmd_send            ## TAILCALL
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PROBED_SSIDS,8,3           ## @MAX_PROBED_SSIDS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DISABLE_SSID_FLAG,8,3          ## @DISABLE_SSID_FLAG
	.comm	_ANY_SSID_FLAG,8,3              ## @ANY_SSID_FLAG
	.comm	_SPECIFIC_SSID_FLAG,8,3         ## @SPECIFIC_SSID_FLAG
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WMI_SET_PROBED_SSID_CMDID,4,2  ## @WMI_SET_PROBED_SSID_CMDID
	.comm	_NO_SYNC_WMIFLAG,4,2            ## @NO_SYNC_WMIFLAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_wmi_probedssid_cmd      ; -- Begin function ath6kl_wmi_probedssid_cmd
	.p2align	2
_ath6kl_wmi_probedssid_cmd:             ; @ath6kl_wmi_probedssid_cmd
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _MAX_PROBED_SSIDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_PROBED_SSIDS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.le	LBB0_6
; %bb.1:
	mov	x21, x4
	cmp	x4, #5
	b.hs	LBB0_6
; %bb.2:
	mov	x22, x5
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	cbz	x21, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _DISABLE_SSID_FLAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DISABLE_SSID_FLAG@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _ANY_SSID_FLAG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ANY_SSID_FLAG@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	orr	x8, x9, x8
	and	x8, x8, x23
	cbnz	x8, LBB0_6
LBB0_4:
Lloh9:
	adrp	x8, _SPECIFIC_SSID_FLAG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SPECIFIC_SSID_FLAG@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	and	x8, x8, x23
	cbnz	x21, LBB0_8
; %bb.5:
	cbz	x8, LBB0_8
LBB0_6:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	cbz	x8, LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x20]
LBB0_10:
	mov	w0, #32
	bl	_ath6kl_wmi_get_new_buf
	cbz	x0, LBB0_12
; %bb.11:
	mov	x25, x0
	ldr	x8, [x0]
	stp	x23, x24, [x8, #16]
	str	x21, [x8, #8]
	ldr	w0, [x8]
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
Lloh14:
	adrp	x8, _WMI_SET_PROBED_SSID_CMDID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WMI_SET_PROBED_SSID_CMDID@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	adrp	x8, _NO_SYNC_WMIFLAG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NO_SYNC_WMIFLAG@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ath6kl_wmi_cmd_send
LBB0_12:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PROBED_SSIDS,8,3           ; @MAX_PROBED_SSIDS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DISABLE_SSID_FLAG,8,3          ; @DISABLE_SSID_FLAG
	.comm	_ANY_SSID_FLAG,8,3              ; @ANY_SSID_FLAG
	.comm	_SPECIFIC_SSID_FLAG,8,3         ; @SPECIFIC_SSID_FLAG
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WMI_SET_PROBED_SSID_CMDID,4,2  ; @WMI_SET_PROBED_SSID_CMDID
	.comm	_NO_SYNC_WMIFLAG,4,2            ; @NO_SYNC_WMIFLAG
.subsections_via_symbols
