	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_program_var_addr
_get_program_var_addr:                  ## @get_program_var_addr
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	callq	_symlook_init
	movq	%rbx, -24(%rbp)
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_donelist_init
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_symlook_global
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_2:
	movq	-40(%rbp), %rax
	movl	8(%rax), %edi
	callq	_ELF_ST_TYPE
	movq	_STT_FUNC@GOTPCREL(%rip), %rcx
	movq	-40(%rbp), %rdi
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	-32(%rbp), %rsi
	callq	_make_function_pointer
	jmp	LBB0_7
LBB0_4:
	movl	8(%rdi), %edi
	callq	_ELF_ST_TYPE
	movq	_STT_GNU_IFUNC@GOTPCREL(%rip), %rcx
	movq	-32(%rbp), %rdi
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	-40(%rbp), %rsi
	callq	_rtld_resolve_ifunc
	jmp	LBB0_7
LBB0_6:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	addq	(%rdi), %rax
LBB0_7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STT_FUNC,8,3                   ## @STT_FUNC
	.comm	_STT_GNU_IFUNC,8,3              ## @STT_GNU_IFUNC
	.no_dead_strip	_get_program_var_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_program_var_addr
_get_program_var_addr:                  ; @get_program_var_addr
	.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
	mov	x19, x1
	mov	x1, x0
	add	x0, sp, #8
	bl	_symlook_init
	str	x19, [sp, #24]
	add	x0, sp, #4
	bl	_donelist_init
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_symlook_global
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_7
LBB0_2:
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #8]
	bl	_ELF_ST_TYPE
	mov	x8, x0
Lloh0:
	adrp	x9, _STT_FUNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STT_FUNC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x0, [sp, #8]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x1, [sp, #16]
	bl	_make_function_pointer
	b	LBB0_7
LBB0_4:
	ldr	w0, [x0, #8]
	bl	_ELF_ST_TYPE
	mov	x8, x0
Lloh3:
	adrp	x9, _STT_GNU_IFUNC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STT_GNU_IFUNC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x0, [sp, #16]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	x1, [sp, #8]
	bl	_rtld_resolve_ifunc
	b	LBB0_7
LBB0_6:
	ldr	x8, [x0]
	ldr	x9, [sp, #8]
	ldr	x9, [x9]
	add	x0, x9, x8
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_STT_FUNC,8,3                   ; @STT_FUNC
	.comm	_STT_GNU_IFUNC,8,3              ; @STT_GNU_IFUNC
	.no_dead_strip	_get_program_var_addr
.subsections_via_symbols
