	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function configure_reg0xc05
_configure_reg0xc05:                    ## @configure_reg0xc05
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rsi)
	movl	(%rdi), %edx
	addl	$-128, %edx
	cmpl	$3, %edx
	ja	LBB0_17
## %bb.1:
	movl	$1, %r8d
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_3:
	xorl	%eax, %eax
	xorl	%r8d, %r8d
	jmp	LBB0_5
LBB0_2:
	movl	$2048, (%rsi)                   ## imm = 0x800
	movl	$2048, %eax                     ## imm = 0x800
	jmp	LBB0_5
LBB0_4:
	movl	$1024, (%rsi)                   ## imm = 0x400
	movl	$1024, %eax                     ## imm = 0x400
LBB0_5:
	movl	$-132, %edx
	addl	4(%rdi), %edx
	cmpl	$4, %edx
	ja	LBB0_17
## %bb.6:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_9:
	xorl	%r8d, %r8d
	jmp	LBB0_12
LBB0_8:
	orl	$384, %eax                      ## imm = 0x180
	jmp	LBB0_11
LBB0_7:
	orl	$256, %eax                      ## imm = 0x100
	jmp	LBB0_11
LBB0_10:
	orl	$128, %eax
LBB0_11:
	movl	%eax, (%rsi)
LBB0_12:
	movl	$-137, %edx
	addl	8(%rdi), %edx
	cmpl	$5, %edx
	ja	LBB0_17
## %bb.13:
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_16:
	orl	$32, %eax
	testl	%r8d, %r8d
	jne	LBB0_20
	jmp	LBB0_21
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_15:
	orl	$24, %eax
	testl	%r8d, %r8d
	jne	LBB0_20
	jmp	LBB0_21
LBB0_14:
	orl	$16, %eax
LBB0_19:
	testl	%r8d, %r8d
	je	LBB0_21
LBB0_20:
	orl	$4, %eax
	jmp	LBB0_22
LBB0_18:
	orl	$8, %eax
	testl	%r8d, %r8d
	jne	LBB0_20
LBB0_21:
	orl	$2, %eax
LBB0_22:
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_4
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_8, LBB0_8-LJTI0_1
.set L0_1_set_7, LBB0_7-LJTI0_1
.set L0_1_set_10, LBB0_10-LJTI0_1
LJTI0_1:
	.long	L0_1_set_12
	.long	L0_1_set_9
	.long	L0_1_set_8
	.long	L0_1_set_7
	.long	L0_1_set_10
.set L0_2_set_21, LBB0_21-LJTI0_2
.set L0_2_set_16, LBB0_16-LJTI0_2
.set L0_2_set_15, LBB0_15-LJTI0_2
.set L0_2_set_14, LBB0_14-LJTI0_2
.set L0_2_set_18, LBB0_18-LJTI0_2
.set L0_2_set_19, LBB0_19-LJTI0_2
LJTI0_2:
	.long	L0_2_set_21
	.long	L0_2_set_16
	.long	L0_2_set_15
	.long	L0_2_set_14
	.long	L0_2_set_18
	.long	L0_2_set_19
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_configure_reg0xc05
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function configure_reg0xc05
_configure_reg0xc05:                    ; @configure_reg0xc05
	.cfi_startproc
; %bb.0:
	str	wzr, [x1]
	ldr	w8, [x0]
	sub	w10, w8, #128
	cmp	w10, #3
	b.hi	LBB0_16
; %bb.1:
	mov	w8, #0
	mov	w9, #1
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	mov	w8, #0
	mov	w9, #0
	b	LBB0_6
LBB0_3:
	mov	w8, #2048
	b	LBB0_5
LBB0_4:
	mov	w8, #1024
LBB0_5:
	str	w8, [x1]
	mov	w9, #1
LBB0_6:
	ldr	w10, [x0, #4]
	sub	w10, w10, #132
	cmp	w10, #4
	b.hi	LBB0_16
; %bb.7:
Lloh2:
	adrp	x11, lJTI0_1@PAGE
Lloh3:
	add	x11, x11, lJTI0_1@PAGEOFF
	adr	x12, LBB0_8
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_8:
	mov	w9, #0
	b	LBB0_13
LBB0_9:
	orr	w8, w8, #0x180
	b	LBB0_12
LBB0_10:
	orr	w8, w8, #0x100
	b	LBB0_12
LBB0_11:
	orr	w8, w8, #0x80
LBB0_12:
	str	w8, [x1]
LBB0_13:
	ldr	w10, [x0, #8]
	sub	w10, w10, #137
	cmp	w10, #5
	b.hi	LBB0_16
; %bb.14:
Lloh4:
	adrp	x11, lJTI0_2@PAGE
Lloh5:
	add	x11, x11, lJTI0_2@PAGEOFF
	adr	x12, LBB0_15
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_15:
	orr	w8, w8, #0x20
	cbnz	w9, LBB0_20
	b	LBB0_22
LBB0_16:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_17:
	orr	w8, w8, #0x18
	cbnz	w9, LBB0_20
	b	LBB0_22
LBB0_18:
	orr	w8, w8, #0x10
LBB0_19:
	cbz	w9, LBB0_22
LBB0_20:
	orr	w8, w8, #0x4
	b	LBB0_23
LBB0_21:
	orr	w8, w8, #0x8
	cbnz	w9, LBB0_20
LBB0_22:
	orr	w8, w8, #0x2
LBB0_23:
	mov	w0, #0
	str	w8, [x1]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
lJTI0_2:
	.byte	(LBB0_22-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_17-LBB0_15)>>2
	.byte	(LBB0_18-LBB0_15)>>2
	.byte	(LBB0_21-LBB0_15)>>2
	.byte	(LBB0_19-LBB0_15)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_configure_reg0xc05
.subsections_via_symbols
