	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_request_board              ## -- Begin function wil_request_board
	.p2align	4, 0x90
_wil_request_board:                     ## @wil_request_board
	.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, %r15
	callq	_wil_to_dev
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wil_err_fw
	jmp	LBB0_7
LBB0_2:
	movq	-32(%rbp), %rax
	movl	4(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_wil_dbg_fw
	movq	-32(%rbp), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edx
	movq	%r15, %rdi
	callq	_wil_fw_verify
	movl	%eax, %ebx
	movq	-32(%rbp), %rdi
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movl	(%rdi), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_wil_brd_process
	movl	%eax, %ebx
	movq	-32(%rbp), %rdi
	callq	_release_firmware
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_3:
	callq	_release_firmware
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_wil_err_fw
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to load brd %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Loading <%s>, %zu bytes\n"

L_.str.2:                               ## @.str.2
	.asciz	"Loading <%s> failed, rc %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_request_board              ; -- Begin function wil_request_board
	.p2align	2
_wil_request_board:                     ; @wil_request_board
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_wil_to_dev
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_request_firmware
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	ldr	x8, [sp, #8]
	ldr	w3, [x8, #4]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_wil_dbg_fw
	ldr	x8, [sp, #8]
	ldp	w1, w2, [x8]
	mov	x0, x20
	bl	_wil_fw_verify
	mov	x21, x0
	ldr	x0, [sp, #8]
	tbnz	w21, #31, LBB0_4
; %bb.3:
	ldr	w1, [x0]
	mov	x0, x20
	mov	x2, x21
	bl	_wil_brd_process
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_release_firmware
	cbnz	w21, LBB0_5
	b	LBB0_7
LBB0_4:
	bl	_release_firmware
LBB0_5:
	str	x21, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x20
	mov	x2, x19
	bl	_wil_err_fw
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to load brd %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Loading <%s>, %zu bytes\n"

l_.str.2:                               ; @.str.2
	.asciz	"Loading <%s> failed, rc %d\n"

.subsections_via_symbols
