	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clkbrd_led_func
_clkbrd_led_func:                       ## @clkbrd_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	8(%rdi), %rcx
	movq	_CLKBRD_CLK@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movl	(%rcx,%rdx,4), %edi
	movl	(%rax,%rdx,4), %esi
	movq	_CLK_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_bus_space_read_1
	movq	_CLK_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	(%rbx), %rax
	movq	8(%rbx), %rdx
	movq	(%r15), %rsi
	movl	(%rdx,%rsi,4), %edi
	movl	(%rax,%rsi,4), %esi
	movl	(%r12), %edx
	callq	_bus_space_write_1
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%r15), %rdx
	movl	(%rcx,%rdx,4), %edi
	movl	(%rax,%rdx,4), %esi
	movl	(%r12), %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bus_space_read_1               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CLKBRD_CLK,8,3                 ## @CLKBRD_CLK
	.comm	_CLK_CTRL,4,2                   ## @CLK_CTRL
	.comm	_CLK_CTRL_RLED,4,2              ## @CLK_CTRL_RLED
	.no_dead_strip	_clkbrd_led_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clkbrd_led_func
_clkbrd_led_func:                       ; @clkbrd_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
Lloh0:
	adrp	x21, _CLKBRD_CLK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CLKBRD_CLK@GOTPAGEOFF]
	ldr	x8, [x21]
	lsl	x8, x8, #2
	ldp	x10, x9, [x0]
	ldr	w0, [x9, x8]
	ldr	w1, [x10, x8]
Lloh2:
	adrp	x22, _CLK_CTRL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _CLK_CTRL@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_bus_space_read_1
Lloh4:
	adrp	x8, _CLK_CTRL_RLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CLK_CTRL_RLED@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w19, #0
	csel	w3, w8, w9, eq
	ldr	x8, [x21]
	lsl	x8, x8, #2
	ldp	x10, x9, [x20]
	ldr	w0, [x9, x8]
	ldr	w1, [x10, x8]
	ldr	w2, [x22]
	bl	_bus_space_write_1
	ldr	x8, [x21]
	lsl	x8, x8, #2
	ldp	x10, x9, [x20]
	ldr	w0, [x9, x8]
	ldr	w1, [x10, x8]
	ldr	w2, [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_space_read_1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CLKBRD_CLK,8,3                 ; @CLKBRD_CLK
	.comm	_CLK_CTRL,4,2                   ; @CLK_CTRL
	.comm	_CLK_CTRL_RLED,4,2              ; @CLK_CTRL_RLED
	.no_dead_strip	_clkbrd_led_func
.subsections_via_symbols
