	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check
_check:                                 ## @check
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rdi, %rbx
	cmpq	%rsi, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r9
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdx
	movq	24(%rbx), %rcx
	movq	32(%rbx), %r8
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_atf_tc_fail_nonfatal
LBB0_2:
	cmpl	%r15d, 40(%rbx)
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %r12
	movq	16(%rbx), %r13
	movq	24(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %r15
	movl	%r15d, %edi
	callq	_strerror
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_atf_tc_fail_nonfatal
LBB0_4:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	cmpq	$0, 48(%rbx)
	jne	LBB0_8
LBB0_7:
	cmpb	$0, (%r14)
	je	LBB0_8
LBB0_9:
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rcx
	movq	24(%rbx), %r8
	movq	32(%rbx), %r9
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atf_tc_fail_nonfatal           ## TAILCALL
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"strtoi(%s, &end, %d, %jd, %jd, &rstatus) failed (rv = %jd)"

L_.str.1:                               ## @.str.1
	.asciz	"strtoi(%s, &end, %d, %jd, %jd, &rstatus) failed (rstatus: %d ('%s'))"

L_.str.2:                               ## @.str.2
	.asciz	"invalid end pointer ('%s') from strtoi(%s, &end, %d, %jd, %jd, &rstatus)"

	.no_dead_strip	_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check
_check:                                 ; @check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.eq	LBB0_2
; %bb.1:
	mov	x5, x1
	ldp	x1, x2, [x20, #8]
	ldp	x3, x4, [x20, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_atf_tc_fail_nonfatal
LBB0_2:
	ldr	w8, [x20, #40]
	cmp	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldp	x22, x23, [x20, #8]
	sxtw	x24, w21
	ldp	x25, x26, [x20, #24]
	mov	x0, x21
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	mov	x3, x25
	mov	x4, x26
	mov	x5, x24
	bl	_atf_tc_fail_nonfatal
LBB0_4:
	ldr	x0, [x20, #48]
	cbz	x0, LBB0_7
; %bb.5:
	mov	x1, x19
	bl	_strcmp
	cbnz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x20, #48]
	cbnz	x8, LBB0_9
LBB0_7:
	ldrb	w8, [x19]
	cbz	w8, LBB0_9
LBB0_8:
	ldp	x2, x3, [x20, #8]
	ldp	x4, x5, [x20, #24]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_atf_tc_fail_nonfatal
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strtoi(%s, &end, %d, %jd, %jd, &rstatus) failed (rv = %jd)"

l_.str.1:                               ; @.str.1
	.asciz	"strtoi(%s, &end, %d, %jd, %jd, &rstatus) failed (rstatus: %d ('%s'))"

l_.str.2:                               ; @.str.2
	.asciz	"invalid end pointer ('%s') from strtoi(%s, &end, %d, %jd, %jd, &rstatus)"

	.no_dead_strip	_check
.subsections_via_symbols
