	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __clockboard_set
___clockboard_set:                      ## @__clockboard_set
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	callq	_to_sunfire_led
	movq	%rax, %r14
	movl	(%rax), %edi
	callq	_upa_readb
	cmpl	$128, %ebx
	jne	LBB0_4
## %bb.1:
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	andl	$-129, %eax
	jmp	LBB0_7
LBB0_4:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	orl	%ebx, %eax
	jmp	LBB0_7
LBB0_3:
	orl	$128, %eax
	jmp	LBB0_7
LBB0_6:
	notl	%ebx
	andl	%ebx, %eax
LBB0_7:
	movl	(%r14), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_upa_writeb                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___clockboard_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __clockboard_set
___clockboard_set:                      ; @__clockboard_set
	.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, x2
	mov	x20, x1
	bl	_to_sunfire_led
	mov	x21, x0
	ldr	w0, [x0]
	bl	_upa_readb
	bic	w8, w0, w19
	orr	w9, w0, w19
	cmp	w20, #0
	csel	w8, w8, w9, eq
	orr	w9, w0, #0x80
	and	w10, w0, #0xffffff7f
	cmp	w20, #0
	csel	w9, w9, w10, eq
	cmp	w19, #128
	csel	w0, w8, w9, ne
	ldr	w1, [x21]
	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	_upa_writeb
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___clockboard_set
.subsections_via_symbols
