	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function kaweth_trigger_firmware
LCPI0_0:
	.long	182                             ## 0xb6
	.long	195                             ## 0xc3
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_kaweth_trigger_firmware:               ## @kaweth_trigger_firmware
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [182,195,1,0]
	movups	%xmm0, (%rax)
	movl	$6, 16(%rax)
	movl	%esi, 20(%rax)
	movq	$0, 24(%rax)
	movl	8(%rdi), %edi
	xorl	%esi, %esi
	callq	_usb_sndctrlpipe
	movq	_KAWETH_COMMAND_SCAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_USB_TYPE_VENDOR@GOTPCREL(%rip), %rsi
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rsi), %ecx
	movq	_USB_RECIP_DEVICE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movq	_KAWETH_CONTROL_TIMEOUT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r10d
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	$8
	pushq	(%rbx)
	callq	_kaweth_control
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KAWETH_COMMAND_SCAN,4,2        ## @KAWETH_COMMAND_SCAN
	.comm	_USB_TYPE_VENDOR,4,2            ## @USB_TYPE_VENDOR
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.comm	_USB_RECIP_DEVICE,4,2           ## @USB_RECIP_DEVICE
	.comm	_KAWETH_CONTROL_TIMEOUT,4,2     ## @KAWETH_CONTROL_TIMEOUT
	.no_dead_strip	_kaweth_trigger_firmware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function kaweth_trigger_firmware
lCPI0_0:
	.long	182                             ; 0xb6
	.long	195                             ; 0xc3
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_kaweth_trigger_firmware:               ; @kaweth_trigger_firmware
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	str	q0, [x8]
	mov	w9, #6
	stp	w9, w1, [x8, #16]
	str	xzr, [x8, #24]
	ldr	w0, [x0, #8]
	mov	w1, #0
	bl	_usb_sndctrlpipe
	mov	x1, x0
Lloh2:
	adrp	x8, _KAWETH_COMMAND_SCAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KAWETH_COMMAND_SCAN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _USB_TYPE_VENDOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _USB_TYPE_VENDOR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _USB_DIR_OUT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _USB_DIR_OUT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _USB_RECIP_DEVICE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _USB_RECIP_DEVICE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w3, w8, w9
	ldr	x6, [x19]
Lloh14:
	adrp	x8, _KAWETH_CONTROL_TIMEOUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _KAWETH_CONTROL_TIMEOUT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	mov	w7, #8
	bl	_kaweth_control
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KAWETH_COMMAND_SCAN,4,2        ; @KAWETH_COMMAND_SCAN
	.comm	_USB_TYPE_VENDOR,4,2            ; @USB_TYPE_VENDOR
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.comm	_USB_RECIP_DEVICE,4,2           ; @USB_RECIP_DEVICE
	.comm	_KAWETH_CONTROL_TIMEOUT,4,2     ; @KAWETH_CONTROL_TIMEOUT
	.no_dead_strip	_kaweth_trigger_firmware
.subsections_via_symbols
