	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readvar
_readvar:                               ## @readvar
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	cmpl	$0, (%r13)
	je	LBB0_4
## %bb.1:
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	callq	_checkassocid
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_12
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ZERO
	movl	(%r13), %ebx
	cmpl	$2, %ebx
	jl	LBB0_8
## %bb.6:
	decl	%ebx
	shlq	$4, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	24(%rax,%r14), %esi
	movq	%r15, %rdi
	callq	_doaddvlist
	addq	$16, %r14
	cmpq	%r14, %rbx
	jne	LBB0_7
LBB0_8:
	testq	%r12, %r12
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jne	LBB0_10
## %bb.9:
	movq	_TYPE_SYS@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_TYPE_PEER@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %ecx
	movq	_CTL_OP_READVAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_dolist
	movq	%r15, %rdi
	callq	_doclearvlist
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXLIST,4,2                    ## @MAXLIST
	.comm	_TYPE_SYS,4,2                   ## @TYPE_SYS
	.comm	_TYPE_PEER,4,2                  ## @TYPE_PEER
	.comm	_CTL_OP_READVAR,4,2             ## @CTL_OP_READVAR
	.no_dead_strip	_readvar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readvar
_readvar:                               ; @readvar
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAXLIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXLIST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_checkassocid
	mov	x22, x0
	cbnz	x0, LBB0_4
	b	LBB0_8
LBB0_3:
	mov	x22, #0
LBB0_4:
	mov	x0, x20
	bl	_ZERO
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.5:
	mov	x23, #0
	sub	w8, w8, #1
	lsl	x24, x8, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x8, x8, x23
	ldr	w1, [x8, #24]
	mov	x0, x20
	bl	_doaddvlist
	add	x23, x23, #16
	cmp	x24, x23
	b.ne	LBB0_6
LBB0_7:
Lloh8:
	adrp	x8, _TYPE_SYS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TYPE_SYS@GOTPAGEOFF]
Lloh10:
	adrp	x9, _TYPE_PEER@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TYPE_PEER@GOTPAGEOFF]
	cmp	x22, #0
	csel	x8, x8, x9, eq
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _CTL_OP_READVAR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CTL_OP_READVAR@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	x4, x19
	bl	_dolist
	mov	x0, x20
	bl	_doclearvlist
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXLIST,4,2                    ; @MAXLIST
	.comm	_TYPE_SYS,4,2                   ; @TYPE_SYS
	.comm	_TYPE_PEER,4,2                  ; @TYPE_PEER
	.comm	_CTL_OP_READVAR,4,2             ; @CTL_OP_READVAR
	.no_dead_strip	_readvar
.subsections_via_symbols
