	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lcp_Setup
LCPI0_0:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1
LCPI0_1:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lcp_Setup
	.p2align	4, 0x90
_lcp_Setup:                             ## @lcp_Setup
	.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	%esi, %r15d
	movq	%rdi, %rbx
	movl	168(%rdi), %edi
	callq	_link2physical
	movq	%rax, %r14
	movl	%r15d, 144(%rbx)
	movq	_DEF_MRU@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 264(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 240(%rbx)
	movups	%xmm0, 224(%rbx)
	movups	%xmm0, 208(%rbx)
	movups	%xmm0, 192(%rbx)
	movq	$0, 256(%rbx)
	movq	136(%rbx), %rcx
	movq	160(%rbx), %rdx
	testq	%rcx, %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, 184(%rbx)
	movl	4(%rdx), %eax
	movl	%eax, 176(%rbx)
	movl	(%rdx), %edi
	callq	_IsEnabled
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, (%rbx)
	movl	132(%rbx), %edi
	callq	_IsEnabled
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 4(%rbx)
	cmpq	$0, 152(%rbx)
	je	LBB0_3
## %bb.1:
	movl	$-1, 8(%rbx)
	movl	96(%rbx), %eax
	movl	128(%rbx), %edi
	movl	%eax, 12(%rbx)
	movl	$0, 16(%rbx)
	callq	_IsEnabled
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 20(%rbx)
	xorl	%eax, %eax
	callq	_GenerateMagic
	movq	%rax, 88(%rbx)
	movl	124(%rbx), %edi
	callq	_IsEnabled
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_PROTO_CHAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$5, %ecx
	jmp	LBB0_7
LBB0_3:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,1,1]
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 72(%rbx)
	movq	$0, 88(%rbx)
	jmp	LBB0_14
LBB0_4:
	movl	120(%rbx), %edi
	callq	_IsEnabled
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	116(%rbx), %edi
	callq	_IsEnabled
	testq	%rax, %rax
	je	LBB0_15
LBB0_6:
	movq	_PROTO_CHAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$128, %ecx
LBB0_7:
	movq	%rax, 80(%rbx)
	movl	%ecx, 24(%rbx)
	movq	(%r14), %rax
	movq	_PHYS_DIRECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	$0, 72(%rbx)
	jmp	LBB0_10
LBB0_9:
	leaq	72(%rbx), %rdi
	movq	8(%r14), %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_10:
	movl	104(%rbx), %edi
	callq	_IsEnabled
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	imull	$100, 100(%rbx), %eax
	jmp	LBB0_13
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	movl	%eax, 28(%rbx)
LBB0_14:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movups	%xmm0, 32(%rbx)
	movq	$0, 64(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	112(%rbx), %edi
	callq	_IsEnabled
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_PROTO_CHAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$129, %ecx
	jmp	LBB0_7
LBB0_17:
	movl	108(%rbx), %edi
	callq	_IsEnabled
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_PROTO_PAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_19:
	xorl	%ecx, %ecx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_DEF_MRU,8,3                    ## @DEF_MRU
	.comm	_PROTO_CHAP,8,3                 ## @PROTO_CHAP
	.comm	_PROTO_PAP,8,3                  ## @PROTO_PAP
	.comm	_PHYS_DIRECT,8,3                ## @PHYS_DIRECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function lcp_Setup
lCPI0_0:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lcp_Setup
	.p2align	2
_lcp_Setup:                             ; @lcp_Setup
	.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	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #168]
	bl	_link2physical
	mov	x20, x0
	str	w21, [x19, #144]
Lloh0:
	adrp	x8, _DEF_MRU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEF_MRU@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #192]
	stp	q0, q0, [x19, #224]
	stp	xzr, x8, [x19, #256]
	ldr	x9, [x19, #136]
	cmp	x9, #0
	csel	x8, x8, x9, eq
	str	x8, [x19, #184]
	ldr	x8, [x19, #160]
	ldp	w0, w9, [x8]
	str	w9, [x19, #176]
	bl	_IsEnabled
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19]
	ldr	w0, [x19, #132]
	bl	_IsEnabled
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #4]
	ldr	x8, [x19, #152]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w8, #-1
	ldr	w9, [x19, #96]
	stp	w8, w9, [x19, #8]
	str	wzr, [x19, #16]
	ldr	w0, [x19, #128]
	bl	_IsEnabled
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #20]
	bl	_GenerateMagic
	str	x0, [x19, #88]
	ldr	w0, [x19, #124]
	bl	_IsEnabled
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _PROTO_CHAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROTO_CHAP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	mov	w8, #5
	b	LBB0_7
LBB0_3:
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #8]
	str	xzr, [x19, #24]
	stp	xzr, xzr, [x19, #80]
	str	xzr, [x19, #72]
	b	LBB0_13
LBB0_4:
	ldr	w0, [x19, #120]
	bl	_IsEnabled
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19, #116]
	bl	_IsEnabled
	cbz	x0, LBB0_14
LBB0_6:
Lloh8:
	adrp	x8, _PROTO_CHAP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PROTO_CHAP@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x8]
	mov	w8, #128
LBB0_7:
	str	x9, [x19, #80]
	str	w8, [x19, #24]
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _PHYS_DIRECT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PHYS_DIRECT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	str	xzr, [x19, #72]
	b	LBB0_10
LBB0_9:
	add	x0, x19, #72
	ldr	x1, [x20, #8]
	mov	w2, #4
	bl	_memcpy
LBB0_10:
	ldr	w0, [x19, #104]
	bl	_IsEnabled
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x19, #100]
	mov	w9, #100
	mul	w8, w8, w9
	str	w8, [x19, #28]
	b	LBB0_13
LBB0_12:
	mov	w8, #0
	str	wzr, [x19, #28]
LBB0_13:
	str	xzr, [x19, #64]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #32]
	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
	ret
LBB0_14:
	ldr	w0, [x19, #112]
	bl	_IsEnabled
	cbz	x0, LBB0_16
; %bb.15:
Lloh14:
	adrp	x8, _PROTO_CHAP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PROTO_CHAP@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x8]
	mov	w8, #129
	b	LBB0_7
LBB0_16:
	ldr	w0, [x19, #108]
	bl	_IsEnabled
	mov	w8, #0
Lloh17:
	adrp	x9, _PROTO_PAP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PROTO_PAP@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x0, #0
	csel	x9, xzr, x9, eq
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DEF_MRU,8,3                    ; @DEF_MRU
	.comm	_PROTO_CHAP,8,3                 ; @PROTO_CHAP
	.comm	_PROTO_PAP,8,3                  ; @PROTO_PAP
	.comm	_PHYS_DIRECT,8,3                ; @PHYS_DIRECT
.subsections_via_symbols
