	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsg_led_sync_set
_fsg_led_sync_set:                      ## @fsg_led_sync_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FSG_LED_SYNC_BIT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	notl	%eax
	movq	_latch_value@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_latch_value@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_3:
	movq	_latch_value@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_latch_address@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSG_LED_SYNC_BIT,4,2           ## @FSG_LED_SYNC_BIT
	.comm	_latch_value,4,2                ## @latch_value
	.comm	_latch_address,8,3              ## @latch_address
	.no_dead_strip	_fsg_led_sync_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsg_led_sync_set
_fsg_led_sync_set:                      ; @fsg_led_sync_set
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FSG_LED_SYNC_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FSG_LED_SYNC_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w9, w9, w8
Lloh3:
	adrp	x8, _latch_value@GOTPAGE
Lloh4:
	ldr	x8, [x8, _latch_value@GOTPAGEOFF]
	cbz	w1, LBB0_2
; %bb.1:
	ldr	w10, [x8]
	bic	w9, w10, w9
	b	LBB0_3
LBB0_2:
	ldr	w10, [x8]
	orr	w9, w10, w9
LBB0_3:
	str	w9, [x8]
Lloh5:
	adrp	x8, _latch_address@GOTPAGE
Lloh6:
	ldr	x8, [x8, _latch_address@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FSG_LED_SYNC_BIT,4,2           ; @FSG_LED_SYNC_BIT
	.comm	_latch_value,4,2                ; @latch_value
	.comm	_latch_address,8,3              ; @latch_address
	.no_dead_strip	_fsg_led_sync_set
.subsections_via_symbols
