	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlc591xx_set_ledout
_tlc591xx_set_ledout:                   ## @tlc591xx_set_ledout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %esi
	leal	3(%rsi), %eax
	testl	%esi, %esi
	cmovnsl	%esi, %eax
	andl	$124, %eax
	movl	%esi, %ecx
	subl	%eax, %ecx
	addl	%ecx, %ecx
	movq	_LEDOUT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	shll	%cl, %r8d
	movl	%edx, %eax
	sarl	$2, %esi
	addl	(%rdi), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	4(%rdi), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r8d, %edx
	movl	%eax, %ecx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LEDOUT_MASK,4,2                ## @LEDOUT_MASK
	.no_dead_strip	_tlc591xx_set_ledout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlc591xx_set_ledout
_tlc591xx_set_ledout:                   ; @tlc591xx_set_ledout
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
	negs	w8, w9
	and	w8, w8, #0x3
	and	w10, w9, #0x3
	csneg	w8, w10, w8, mi
	lsl	w10, w8, #1
Lloh0:
	adrp	x8, _LEDOUT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEDOUT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w8, w10
	ldp	w11, w0, [x0]
	add	w1, w11, w9, asr #2
	lsl	w3, w2, w10
	mov	x2, x8
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LEDOUT_MASK,4,2                ; @LEDOUT_MASK
	.no_dead_strip	_tlc591xx_set_ledout
.subsections_via_symbols
