	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetVariableHooks               ## -- Begin function SetVariableHooks
	.p2align	4, 0x90
_SetVariableHooks:                      ## @SetVariableHooks
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	%r15, %rdi
	callq	_valid_variable_name
	testl	%eax, %eax
	je	LBB0_15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	32(%rbx), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	jle	LBB0_3
LBB0_11:
	movl	$40, %edi
	callq	_pg_malloc
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_pg_strdup
	movl	%eax, 32(%rbx)
	movq	$0, 8(%rbx)
	movq	%r14, (%rbx)
	movq	%r13, %rax
	movq	%r13, 24(%rbx)
	movq	16(%r12), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, 16(%r12)
	testq	%r14, %r14
	je	LBB0_12
## %bb.13:
	xorl	%edi, %edi
	callq	*%r14
	movq	%rax, %rdi
	movq	%rax, 8(%rbx)
	jmp	LBB0_14
LBB0_5:
	movq	%r14, (%rbx)
	movq	%r13, %rax
	movq	%r13, 24(%rbx)
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	8(%rbx), %rdi
	callq	*%r14
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	%r13, %rax
	testq	%r13, %r13
	je	LBB0_15
## %bb.8:
	movq	8(%rbx), %rdi
	jmp	LBB0_9
LBB0_12:
	xorl	%edi, %edi
LBB0_14:
	movq	%r13, %rax
	testq	%r13, %r13
	je	LBB0_15
LBB0_9:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetVariableHooks               ; -- Begin function SetVariableHooks
	.p2align	2
_SetVariableHooks:                      ; @SetVariableHooks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	cbz	x0, LBB0_14
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_14
; %bb.2:
	mov	x19, x2
	mov	x20, x0
	mov	x0, x21
	bl	_valid_variable_name
	cbz	w0, LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x20
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #32]
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #1
	b.lt	LBB0_3
LBB0_6:
	mov	w0, #40
	bl	_pg_malloc
	mov	x20, x0
	mov	x0, x21
	bl	_pg_strdup
	str	w0, [x20, #32]
	stp	x19, xzr, [x20]
	ldr	x8, [x22, #16]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	stp	x8, x0, [x20, #16]
	str	x20, [x22, #16]
	mov	x0, #0
	cbz	x19, LBB0_8
; %bb.7:
	blr	x19
	str	x0, [x20, #8]
LBB0_8:
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	cbnz	x1, LBB0_13
	b	LBB0_14
LBB0_9:
	str	x19, [x20]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	str	x0, [x20, #24]
	cbz	x19, LBB0_11
; %bb.10:
	ldr	x0, [x20, #8]
	blr	x19
	str	x0, [x20, #8]
LBB0_11:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x0, LBB0_14
; %bb.12:
	ldr	x0, [x20, #8]
LBB0_13:
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	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
	add	sp, sp, #64
	br	x1
LBB0_14:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
