	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getenv_int
_getenv_int:                            ## @getenv_int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	cmpb	$0, (%rax)
	je	LBB0_6
## %bb.2:
	leaq	-16(%rbp), %rsi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_strtol
	movq	-16(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:
	cmpb	$0, (%rcx)
	jne	LBB0_6
## %bb.4:
	movq	%rax, %rcx
	subq	$-2147483648, %rcx              ## imm = 0x80000000
	shrq	$32, %rcx
	je	LBB0_7
	jmp	LBB0_6
LBB0_5:
	movslq	%eax, %rcx
	cmpq	%rax, %rcx
	je	LBB0_7
LBB0_6:
	movq	%rbx, %rax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_getenv_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getenv_int
_getenv_int:                            ; @getenv_int
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	w19, w1
	bl	_getenv
	cbz	x0, LBB0_4
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_4
; %bb.2:
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.3:
	ldrb	w8, [x8]
	mov	w9, #-2147483648
	add	x9, x0, x9
	cmp	w8, #0
	lsr	x8, x9, #32
	ccmp	x8, #0, #0, eq
	b.eq	LBB0_5
LBB0_4:
	mov	x0, x19
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	cmp	x0, w0, sxtw
	b.ne	LBB0_4
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_getenv_int
.subsections_via_symbols
