	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_unsigned_long
_parse_unsigned_long:                   ## @parse_unsigned_long
	.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, %r15
	movq	%rdi, %r12
	callq	_getenv
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	decq	%rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	cmpb	$0, (%rbx)
	je	LBB0_10
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtoul
	cmpq	$0, (%r15)
	jne	LBB0_10
## %bb.5:
	movq	%rax, %r13
	testq	%rax, %rax
	jle	LBB0_10
## %bb.6:
	movq	-56(%rbp), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edi
	callq	_isspace
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:
	cmpb	$0, -1(%rbx)
	je	LBB0_9
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_gomp_error
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movl	$1, %r14d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid value for environment variable %s"

	.no_dead_strip	_parse_unsigned_long
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_unsigned_long
_parse_unsigned_long:                   ; @parse_unsigned_long
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_getenv
	cbz	x0, LBB0_9
; %bb.1:
	sub	x21, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x21, #1]!
	bl	_isspace
	cbnz	x0, LBB0_2
; %bb.3:
	ldrb	w8, [x21]
	cbz	w8, LBB0_8
; %bb.4:
Lloh0:
	adrp	x22, _errno@GOTPAGE
Lloh1:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [x22]
	cmp	x8, #0
	ccmp	x0, #1, #8, eq
	b.lt	LBB0_8
; %bb.5:
	mov	x21, x0
	ldr	x22, [sp, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22], #1
	bl	_isspace
	cbnz	x0, LBB0_6
; %bb.7:
	ldurb	w8, [x22, #-1]
	cbz	w8, LBB0_10
LBB0_8:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_gomp_error
	mov	w0, #0
LBB0_9:
	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
LBB0_10:
	str	x21, [x20]
	mov	w0, #1
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid value for environment variable %s"

	.no_dead_strip	_parse_unsigned_long
.subsections_via_symbols
