	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si4713_s_ctrl
_si4713_s_ctrl:                         ## @si4713_s_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_to_si4713_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%eax, %eax
	cmpl	$128, (%r14)
	jne	LBB0_8
## %bb.3:
	movl	4(%r14), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_si4713_set_mute
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:
	movq	_POWER_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_si4713_set_power_state         ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_POWER_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_si4713_set_power_state
	testl	%eax, %eax
	js	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_si4713_setup
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_si4713_set_mute                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_POWER_DOWN,4,2                 ## @POWER_DOWN
	.comm	_POWER_UP,4,2                   ## @POWER_UP
	.no_dead_strip	_si4713_s_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si4713_s_ctrl
_si4713_s_ctrl:                         ; @si4713_s_ctrl
	.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	x20, x1
	bl	_to_si4713_device
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.2:
	mov	x19, x0
	ldr	w1, [x20, #4]
	cbz	w1, LBB0_8
; %bb.3:
	mov	x0, x19
	bl	_si4713_set_mute
	tbnz	w0, #31, LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _POWER_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POWER_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_si4713_set_power_state
LBB0_5:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh6:
	adrp	x8, _POWER_UP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _POWER_UP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_si4713_set_power_state
	tbnz	w0, #31, LBB0_7
; %bb.9:
	mov	x0, x19
	bl	_si4713_setup
	tbnz	w0, #31, LBB0_7
; %bb.10:
	ldr	w1, [x20, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_si4713_set_mute
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_POWER_DOWN,4,2                 ; @POWER_DOWN
	.comm	_POWER_UP,4,2                   ; @POWER_UP
	.no_dead_strip	_si4713_s_ctrl
.subsections_via_symbols
