	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _cxusb_power_ctrl
__cxusb_power_ctrl:                     ## @_cxusb_power_ctrl
	.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	$0, -20(%rbp)
	testl	%esi, %esi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	movq	_CMD_POWER_ON@GOTPCREL(%rip), %rbx
	cmoveq	_CMD_POWER_OFF@GOTPCREL(%rip), %rbx
	callq	_deb_info
	movl	(%rbx), %esi
	leaq	-20(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cxusb_ctrl_msg
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting power %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"ON"

L_.str.2:                               ## @.str.2
	.asciz	"OFF"

	.comm	_CMD_POWER_ON,4,2               ## @CMD_POWER_ON
	.comm	_CMD_POWER_OFF,4,2              ## @CMD_POWER_OFF
	.no_dead_strip	__cxusb_power_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _cxusb_power_ctrl
__cxusb_power_ctrl:                     ; @_cxusb_power_ctrl
	.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
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w1, #0
	csel	x1, x9, x8, eq
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
Lloh6:
	adrp	x8, _CMD_POWER_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMD_POWER_OFF@GOTPAGEOFF]
Lloh8:
	adrp	x9, _CMD_POWER_ON@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CMD_POWER_ON@GOTPAGEOFF]
	csel	x20, x8, x9, eq
	bl	_deb_info
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #1
	mov	x4, #0
	mov	w5, #0
	bl	_cxusb_ctrl_msg
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting power %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"ON"

l_.str.2:                               ; @.str.2
	.asciz	"OFF"

	.comm	_CMD_POWER_ON,4,2               ; @CMD_POWER_ON
	.comm	_CMD_POWER_OFF,4,2              ; @CMD_POWER_OFF
	.no_dead_strip	__cxusb_power_ctrl
.subsections_via_symbols
