	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_layer_state               ## -- Begin function read_layer_state
	.p2align	4, 0x90
_read_layer_state:                      ## @read_layer_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_layer_state@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_biton32
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.3:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	leaq	-48(%rbp), %rdi
	callq	_strcpy
	jmp	LBB0_8
LBB0_7:
	movl	(%rbx), %ecx
	leaq	L_.str.3(%rip), %rdx
	leaq	-48(%rbp), %rdi
	movl	$17, %esi
	callq	_snprintf
LBB0_8:
	leaq	_read_layer_state.layer_state_str(%rip), %rbx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strcat
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcat
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_read_layer_state.layer_state_str,24,4 ## @read_layer_state.layer_state_str
	.comm	_layer_state,4,2                ## @layer_state
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Default"

L_.str.1:                               ## @.str.1
	.asciz	"Raise"

L_.str.2:                               ## @.str.2
	.asciz	"Lower"

L_.str.3:                               ## @.str.3
	.asciz	"Undef-%ld"

L_.str.4:                               ## @.str.4
	.asciz	"Layer: "

L_.str.5:                               ## @.str.5
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_layer_state               ; -- Begin function read_layer_state
	.p2align	2
_read_layer_state:                      ; @read_layer_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x19, _layer_state@GOTPAGE
Lloh4:
	ldr	x19, [x19, _layer_state@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_biton32
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_7
; %bb.3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	add	x0, sp, #7
	bl	_strcpy
	b	LBB0_8
LBB0_7:
	ldr	w3, [x19]
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #7
	mov	w1, #17
	bl	_snprintf
LBB0_8:
Lloh13:
	adrp	x19, _read_layer_state.layer_state_str@PAGE
Lloh14:
	add	x19, x19, _read_layer_state.layer_state_str@PAGEOFF
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcpy
	add	x1, sp, #7
	mov	x0, x19
	bl	_strcat
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strcat
	ldr	x8, [sp, #24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_read_layer_state.layer_state_str,24,0 ; @read_layer_state.layer_state_str
	.comm	_layer_state,4,2                ; @layer_state
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Default"

l_.str.1:                               ; @.str.1
	.asciz	"Raise"

l_.str.2:                               ; @.str.2
	.asciz	"Lower"

l_.str.3:                               ; @.str.3
	.asciz	"Undef-%ld"

l_.str.4:                               ; @.str.4
	.asciz	"Layer: "

l_.str.5:                               ; @.str.5
	.asciz	"\n"

.subsections_via_symbols
