	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fhc_led_func
_fhc_led_func:                          ## @fhc_led_func
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_FHC_INTERNAL@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_FHC_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_bus_read_4
	movq	_FHC_CTRL_RLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	notl	%ecx
	andl	%eax, %ecx
	testl	%r14d, %r14d
	cmovnel	%edx, %ecx
	movq	_FHC_CTRL_AOFF@GOTPCREL(%rip), %rax
	movq	_FHC_CTRL_BOFF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movq	_FHC_CTRL_SLINE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	(%r12), %esi
	callq	_bus_write_4
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	(%r12), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bus_read_4                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FHC_INTERNAL,8,3               ## @FHC_INTERNAL
	.comm	_FHC_CTRL,4,2                   ## @FHC_CTRL
	.comm	_FHC_CTRL_RLED,4,2              ## @FHC_CTRL_RLED
	.comm	_FHC_CTRL_AOFF,4,2              ## @FHC_CTRL_AOFF
	.comm	_FHC_CTRL_BOFF,4,2              ## @FHC_CTRL_BOFF
	.comm	_FHC_CTRL_SLINE,4,2             ## @FHC_CTRL_SLINE
	.no_dead_strip	_fhc_led_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fhc_led_func
_fhc_led_func:                          ; @fhc_led_func
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _FHC_INTERNAL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FHC_INTERNAL@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
Lloh2:
	adrp	x22, _FHC_CTRL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FHC_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_bus_read_4
Lloh4:
	adrp	x8, _FHC_CTRL_RLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FHC_CTRL_RLED@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w19, #0
	csel	w8, w8, w9, eq
Lloh7:
	adrp	x9, _FHC_CTRL_AOFF@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FHC_CTRL_AOFF@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _FHC_CTRL_BOFF@GOTPAGE
Lloh11:
	ldr	x10, [x10, _FHC_CTRL_BOFF@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh13:
	adrp	x10, _FHC_CTRL_SLINE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _FHC_CTRL_SLINE@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w2, w8, w9
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w1, [x22]
	bl	_bus_write_4
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w1, [x22]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bus_read_4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FHC_INTERNAL,8,3               ; @FHC_INTERNAL
	.comm	_FHC_CTRL,4,2                   ; @FHC_CTRL
	.comm	_FHC_CTRL_RLED,4,2              ; @FHC_CTRL_RLED
	.comm	_FHC_CTRL_AOFF,4,2              ; @FHC_CTRL_AOFF
	.comm	_FHC_CTRL_BOFF,4,2              ; @FHC_CTRL_BOFF
	.comm	_FHC_CTRL_SLINE,4,2             ; @FHC_CTRL_SLINE
	.no_dead_strip	_fhc_led_func
.subsections_via_symbols
