	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_hif_usb_reboot
_ath9k_hif_usb_reboot:                  ## @ath9k_hif_usb_reboot
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$-1, -20(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rdi
	movl	$4, %esi
	callq	_kmemdup
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_USB_REG_OUT_PIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usb_sndintpipe
	movq	_USB_MSG_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_usb_interrupt_msg
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_USB_REG_OUT_PIPE,4,2           ## @USB_REG_OUT_PIPE
	.comm	_USB_MSG_TIMEOUT,4,2            ## @USB_MSG_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ath9k_htc: USB reboot failed\n"

	.no_dead_strip	_ath9k_hif_usb_reboot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_hif_usb_reboot
_ath9k_hif_usb_reboot:                  ; @ath9k_hif_usb_reboot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #-1
	str	w8, [sp, #12]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	w1, #4
	bl	_kmemdup
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _USB_REG_OUT_PIPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB_REG_OUT_PIPE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usb_sndintpipe
	mov	x1, x0
Lloh6:
	adrp	x8, _USB_MSG_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _USB_MSG_TIMEOUT@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #4
	mov	x4, #0
	bl	_usb_interrupt_msg
	cbz	w0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_3:
	mov	x0, x20
	bl	_kfree
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_USB_REG_OUT_PIPE,4,2           ; @USB_REG_OUT_PIPE
	.comm	_USB_MSG_TIMEOUT,4,2            ; @USB_MSG_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ath9k_htc: USB reboot failed\n"

	.no_dead_strip	_ath9k_hif_usb_reboot
.subsections_via_symbols
