	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_start_scan_verify   ## -- Begin function ath10k_wmi_start_scan_verify
	.p2align	4, 0x90
_ath10k_wmi_start_scan_verify:          ## @ath10k_wmi_start_scan_verify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	_WLAN_SCAN_PARAMS_MAX_IE_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movl	32(%rdi), %edi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r14
	jg	LBB0_4
## %bb.2:
	movq	16(%rbx), %rax
	movq	_WLAN_SCAN_PARAMS_MAX_SSID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_4
## %bb.3:
	movq	24(%rbx), %rcx
	movq	_WLAN_SCAN_PARAMS_MAX_BSSID@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jle	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_SCAN_PARAMS_MAX_IE_LEN,8,3 ## @WLAN_SCAN_PARAMS_MAX_IE_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WLAN_SCAN_PARAMS_MAX_SSID,8,3  ## @WLAN_SCAN_PARAMS_MAX_SSID
	.comm	_WLAN_SCAN_PARAMS_MAX_BSSID,8,3 ## @WLAN_SCAN_PARAMS_MAX_BSSID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_start_scan_verify   ; -- Begin function ath10k_wmi_start_scan_verify
	.p2align	2
_ath10k_wmi_start_scan_verify:          ; @ath10k_wmi_start_scan_verify
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WLAN_SCAN_PARAMS_MAX_IE_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WLAN_SCAN_PARAMS_MAX_IE_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w0, [x0, #32]
	bl	_ARRAY_SIZE
	cmp	x20, x0
	b.gt	LBB0_4
; %bb.2:
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _WLAN_SCAN_PARAMS_MAX_SSID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WLAN_SCAN_PARAMS_MAX_SSID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.3:
	ldr	x8, [x19, #24]
Lloh6:
	adrp	x9, _WLAN_SCAN_PARAMS_MAX_BSSID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WLAN_SCAN_PARAMS_MAX_BSSID@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_6
LBB0_4:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_SCAN_PARAMS_MAX_IE_LEN,8,3 ; @WLAN_SCAN_PARAMS_MAX_IE_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WLAN_SCAN_PARAMS_MAX_SSID,8,3  ; @WLAN_SCAN_PARAMS_MAX_SSID
	.comm	_WLAN_SCAN_PARAMS_MAX_BSSID,8,3 ; @WLAN_SCAN_PARAMS_MAX_BSSID
.subsections_via_symbols
