	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_usb_bmi_read
_ath6kl_usb_bmi_read:                   ## @ath6kl_usb_bmi_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %r9d
	movq	%rsi, %r8
	movq	(%rdi), %rdi
	movq	_ATH6KL_USB_CONTROL_REQ_RECV_BMI_RESP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ath6kl_usb_submit_ctrl_in
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_ath6kl_err
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH6KL_USB_CONTROL_REQ_RECV_BMI_RESP,4,2 ## @ATH6KL_USB_CONTROL_REQ_RECV_BMI_RESP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to read the bmi data from the device: %d\n"

	.no_dead_strip	_ath6kl_usb_bmi_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_usb_bmi_read
_ath6kl_usb_bmi_read:                   ; @ath6kl_usb_bmi_read
	.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
	mov	x5, x2
	mov	x4, x1
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _ATH6KL_USB_CONTROL_REQ_RECV_BMI_RESP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH6KL_USB_CONTROL_REQ_RECV_BMI_RESP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	bl	_ath6kl_usb_submit_ctrl_in
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_ath6kl_err
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH6KL_USB_CONTROL_REQ_RECV_BMI_RESP,4,2 ; @ATH6KL_USB_CONTROL_REQ_RECV_BMI_RESP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to read the bmi data from the device: %d\n"

	.no_dead_strip	_ath6kl_usb_bmi_read
.subsections_via_symbols
