	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_setautogain
_sd_setautogain:                        ## @sd_setautogain
	.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, %rax
	movq	%rsi, (%rdi)
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_EXPO_IDX@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	orl	%eax, %edx
	jmp	LBB0_5
LBB0_1:
	shrq	$32, %rax
	jmp	LBB0_6
LBB0_4:
	notl	%edx
	andl	%eax, %edx
LBB0_5:
	movl	%edx, (%rbx)
	movq	%rbx, %rdi
	callq	_setautogain
	movl	4(%rbx), %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXPO_IDX,4,2                   ## @EXPO_IDX
	.no_dead_strip	_sd_setautogain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_setautogain
_sd_setautogain:                        ; @sd_setautogain
	.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
	str	x1, [x0]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _EXPO_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXPO_IDX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	cbz	x1, LBB0_4
; %bb.2:
	orr	w8, w8, w1
	b	LBB0_5
LBB0_3:
	lsr	x0, x1, #32
	b	LBB0_6
LBB0_4:
	bic	w8, w1, w8
LBB0_5:
	str	w8, [x19]
	mov	x0, x19
	bl	_setautogain
	ldr	w0, [x19, #4]
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXPO_IDX,4,2                   ; @EXPO_IDX
	.no_dead_strip	_sd_setautogain
.subsections_via_symbols
