	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stac_hp_bass_gpio_put
_stac_hp_bass_gpio_put:                 ## @stac_hp_bass_gpio_put
	.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	%rsi, %rbx
	callq	_snd_kcontrol_chip
	movq	(%rax), %rsi
	movl	(%rsi), %edi
	movl	%edi, %edx
	andl	$-33, %edx
	movq	(%rbx), %rbx
	xorl	%ecx, %ecx
	cmpq	$0, (%rbx)
	setne	%cl
	shll	$5, %ecx
	orl	%edx, %ecx
	xorl	%edx, %edx
	cmpl	%edi, %ecx
	je	LBB0_2
## %bb.1:
	movl	%ecx, (%rsi)
	movl	4(%rsi), %edx
	movl	8(%rsi), %esi
	movq	%rax, %rdi
	callq	_stac_gpio_set
	movl	$1, %edx
LBB0_2:
	movl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stac_hp_bass_gpio_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stac_hp_bass_gpio_put
_stac_hp_bass_gpio_put:                 ; @stac_hp_bass_gpio_put
	.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	x19, x1
	bl	_snd_kcontrol_chip
	ldr	x8, [x0]
	ldr	w9, [x8]
	ldr	x10, [x19]
	ldr	x10, [x10]
	cmp	x10, #0
	cset	w10, ne
	mov	x3, x9
	bfi	w3, w10, #5, #1
	cmp	w3, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	str	w3, [x8]
	ldp	w2, w1, [x8, #4]
	bl	_stac_gpio_set
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stac_hp_bass_gpio_put
.subsections_via_symbols
