	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_core_search_bd
_ath10k_core_search_bd:                 ## @ath10k_core_search_bd
	.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	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	cmpq	$17, %rcx
	jb	LBB0_10
## %bb.1:
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$128, %r8d
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_ath10k_core_parse_bd_ie_board
	movl	%eax, %r12d
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_ALIGN
	subq	%rax, %rbx
	leaq	(%r15,%rax,4), %r15
	cmpq	$16, %rbx
	jbe	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, %r14
	movl	8(%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, %r13
	addq	$-16, %rbx
	movq	(%r15), %r15
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_ALIGN
	cmpq	%rax, %rbx
	jb	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %r14d
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %r14d
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$129, %r8d
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	movq	%r13, %rcx
	movq	%rbx, %r8
	callq	_ath10k_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid length for board ie_id %d ie_len %zu len %zu\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ath10k_core_search_bd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_core_search_bd
_ath10k_core_search_bd:                 ; @ath10k_core_search_bd
	.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	x26, _ENOENT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ENOENT@GOTPAGEOFF]
	ldr	w8, [x26]
	neg	w21, w8
	cmp	x3, #17
	b.lo	LBB0_10
; %bb.1:
	mov	x22, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	mov	x3, x20
	mov	w4, #128
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_ath10k_core_parse_bd_ie_board
	mov	x21, x0
	ldr	w8, [x26]
	cmn	w0, w8
	b.ne	LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	w1, #4
	bl	_ALIGN
	sub	x22, x22, x0
	add	x24, x24, x0, lsl #2
	cmp	x22, #16
	b.ls	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, #12]
	bl	_le32_to_cpu
	mov	x25, x0
	ldr	w0, [x24, #8]
	bl	_le32_to_cpu
	mov	x23, x0
	sub	x22, x22, #16
	ldr	x24, [x24]
	mov	w1, #4
	bl	_ALIGN
	cmp	x22, x0
	b.lo	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #128
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #129
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	mov	x3, x20
	mov	w4, #129
	b	LBB0_3
LBB0_9:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x25
	mov	x3, x23
	mov	x4, x22
	bl	_ath10k_err
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid length for board ie_id %d ie_len %zu len %zu\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ath10k_core_search_bd
.subsections_via_symbols
