	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_state_set_user           ## -- Begin function layer_state_set_user
	.p2align	4, 0x90
_layer_state_set_user:                  ## @layer_state_set_user
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_biton32
	movq	_PB0@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_PORTB@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	jmp	LBB0_3
LBB0_1:
	notl	%edx
	movq	_PORTB@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
LBB0_3:
	movq	_PORTB@GOTPCREL(%rip), %r14
	movl	%edx, (%r14)
	movl	%ebx, %edi
	callq	_biton32
	movq	_PB1@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.4:
	notl	%edx
	andl	(%r14), %edx
	jmp	LBB0_6
LBB0_5:
	orl	(%r14), %edx
LBB0_6:
	movl	%edx, (%r14)
	movl	%ebx, %edi
	callq	_biton32
	movq	_PB2@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.7:
	notl	%edx
	andl	(%r14), %edx
	jmp	LBB0_9
LBB0_8:
	orl	(%r14), %edx
LBB0_9:
	movl	%edx, (%r14)
	movl	%ebx, %edi
	callq	_biton32
	movq	_PB3@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	cmpl	$3, %eax
	jne	LBB0_11
## %bb.10:
	notl	%edx
	andl	(%r14), %edx
	jmp	LBB0_12
LBB0_11:
	orl	(%r14), %edx
LBB0_12:
	movl	%edx, (%r14)
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PB0,4,2                        ## @PB0
	.comm	_PORTB,4,2                      ## @PORTB
	.comm	_PB1,4,2                        ## @PB1
	.comm	_PB2,4,2                        ## @PB2
	.comm	_PB3,4,2                        ## @PB3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_state_set_user           ; -- Begin function layer_state_set_user
	.p2align	2
_layer_state_set_user:                  ; @layer_state_set_user
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_biton32
Lloh0:
	adrp	x8, _PB0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PB0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x20, _PORTB@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PORTB@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w9, [x20]
	orr	w8, w9, w8
	b	LBB0_3
LBB0_2:
	ldr	w9, [x20]
	bic	w8, w9, w8
LBB0_3:
	str	w8, [x20]
	mov	x0, x19
	bl	_biton32
Lloh5:
	adrp	x8, _PB1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PB1@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.4:
	ldr	w9, [x20]
	bic	w8, w9, w8
	b	LBB0_6
LBB0_5:
	ldr	w9, [x20]
	orr	w8, w9, w8
LBB0_6:
	str	w8, [x20]
	mov	x0, x19
	bl	_biton32
Lloh8:
	adrp	x8, _PB2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PB2@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	cmp	w0, #2
	b.ne	LBB0_8
; %bb.7:
	ldr	w9, [x20]
	bic	w8, w9, w8
	b	LBB0_9
LBB0_8:
	ldr	w9, [x20]
	orr	w8, w9, w8
LBB0_9:
	str	w8, [x20]
	mov	x0, x19
	bl	_biton32
Lloh11:
	adrp	x8, _PB3@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PB3@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	cmp	w0, #3
	b.ne	LBB0_11
; %bb.10:
	ldr	w9, [x20]
	bic	w8, w9, w8
	b	LBB0_12
LBB0_11:
	ldr	w9, [x20]
	orr	w8, w9, w8
LBB0_12:
	str	w8, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PB0,4,2                        ; @PB0
	.comm	_PORTB,4,2                      ; @PORTB
	.comm	_PB1,4,2                        ; @PB1
	.comm	_PB2,4,2                        ; @PB2
	.comm	_PB3,4,2                        ; @PB3
.subsections_via_symbols
