	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function infinite_options
_infinite_options:                      ## @infinite_options
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	$1234, -32(%rbp)                ## imm = 0x4D2
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_push_option
	movq	%r14, -24(%rbp)
	movq	%rbx, %rdi
	callq	_port_register_hwall
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jns	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_clear_options
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_EMSGSIZE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setne	%al
	negl	%eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Testing infinite list of options on %s\n"

	.comm	_errno,8,3                      ## @errno
	.comm	_EMSGSIZE,8,3                   ## @EMSGSIZE
	.no_dead_strip	_infinite_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function infinite_options
_infinite_options:                      ; @infinite_options
	.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	x19, x0
	ldr	x1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w8, #1234
	str	w8, [sp]
	mov	x20, sp
	mov	x0, sp
	mov	x1, x19
	bl	_push_option
	str	x20, [sp, #8]
	mov	x0, x19
	bl	_port_register_hwall
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_clear_options
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _EMSGSIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EMSGSIZE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	csetm	w0, ne
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Testing infinite list of options on %s\n"

	.comm	_errno,8,3                      ; @errno
	.comm	_EMSGSIZE,8,3                   ; @EMSGSIZE
	.no_dead_strip	_infinite_options
.subsections_via_symbols
