	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_setagc
_sd_setagc:                             ## @sd_setagc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, (%rdi)
	cmpq	$0, 8(%rdi)
	je	LBB0_5
## %bb.1:
	movq	_AWB_IDX@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	notl	%eax
	andl	%esi, %eax
	jmp	LBB0_4
LBB0_3:
	orl	%esi, %eax
LBB0_4:
	movl	%eax, (%rdi)
	callq	_setagc
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AWB_IDX,4,2                    ## @AWB_IDX
	.no_dead_strip	_sd_setagc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_setagc
_sd_setagc:                             ; @sd_setagc
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	x1, [x0]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _AWB_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AWB_IDX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	cbz	x1, LBB0_3
; %bb.2:
	bic	w8, w1, w8
	b	LBB0_4
LBB0_3:
	orr	w8, w8, w1
LBB0_4:
	str	w8, [x0]
	bl	_setagc
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AWB_IDX,4,2                    ; @AWB_IDX
	.no_dead_strip	_sd_setagc
.subsections_via_symbols
