	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recursion
_recursion:                             ## @recursion
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	_test@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	leaq	-76(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_save_sysctls
	xorl	%eax, %eax
	callq	_getdeferred
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	leaq	-56(%rbp), %rdi
	callq	_my_socketpair
	movq	_PF_UNIX@GOTPCREL(%rip), %r12
	movq	_SOCK_STREAM@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %rbx
	movq	_EMFILE@GOTPCREL(%rip), %r14
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-64(%rbp), %edi
	movl	-56(%rbp), %esi
	callq	_sendfd
	movl	-64(%rbp), %edi
	movl	-52(%rbp), %esi
	callq	_sendfd
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edi
	callq	_close2
	movq	-64(%rbp), %rax
	movq	%rax, -56(%rbp)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	(%r13), %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_socketpair
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ENFILE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$-1, %edi
	movq	%r15, %rsi
	callq	_err
	jmp	LBB0_5
LBB0_6:
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %esi
	callq	_close2
	movl	$1, %edi
	callq	_sleep
	movl	-76(%rbp), %edi
	movl	-72(%rbp), %esi
	callq	_test_sysctls
	xorl	%eax, %eax
	callq	_getdeferred
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	cmpl	%eax, %edx
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movl	$-1, %edi
	movl	%eax, %ecx
	callq	_errx
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recursion"

	.comm	_test,8,3                       ## @test
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.comm	_PF_UNIX,4,2                    ## @PF_UNIX
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_errno,8,3                      ## @errno
	.comm	_EMFILE,8,3                     ## @EMFILE
	.comm	_ENFILE,8,3                     ## @ENFILE
L_.str.2:                               ## @.str.2
	.asciz	"socketpair"

L_.str.3:                               ## @.str.3
	.asciz	"recursion: deferred before %d after %d"

	.no_dead_strip	_recursion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recursion
_recursion:                             ; @recursion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _test@GOTPAGE
Lloh1:
	ldr	x8, [x8, _test@GOTPAGEOFF]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
Lloh4:
	str	x1, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_save_sysctls
	bl	_getdeferred
	mov	x19, x0
	add	x0, sp, #24
	bl	_my_socketpair
Lloh7:
	adrp	x21, _PF_UNIX@GOTPAGE
Lloh8:
	ldr	x21, [x21, _PF_UNIX@GOTPAGEOFF]
Lloh9:
	adrp	x22, _SOCK_STREAM@GOTPAGE
Lloh10:
	ldr	x22, [x22, _SOCK_STREAM@GOTPAGEOFF]
Lloh11:
	adrp	x23, _errno@GOTPAGE
Lloh12:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
Lloh13:
	adrp	x24, _EMFILE@GOTPAGE
Lloh14:
	ldr	x24, [x24, _EMFILE@GOTPAGEOFF]
Lloh15:
	adrp	x20, l_.str.2@PAGE
Lloh16:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh17:
	adrp	x25, _ENFILE@GOTPAGE
Lloh18:
	ldr	x25, [x25, _ENFILE@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #16]
	ldr	w1, [sp, #24]
	bl	_sendfd
	ldr	w0, [sp, #16]
	ldr	w1, [sp, #28]
	bl	_sendfd
	ldp	w1, w0, [sp, #24]
	bl	_close2
	ldr	d0, [sp, #16]
	str	d0, [sp, #24]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	w1, [x22]
	add	x3, sp, #16
	mov	w2, #0
	bl	_socketpair
	cmn	w0, #1
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #-1
	mov	x1, x20
	bl	_err
	b	LBB0_1
LBB0_5:
	ldp	w0, w1, [sp, #24]
	bl	_close2
	mov	w0, #1
	bl	_sleep
	ldp	w1, w0, [sp, #8]
	bl	_test_sysctls
	bl	_getdeferred
	cmp	w19, w0
	b.eq	LBB0_7
; %bb.6:
	mov	x3, x0
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #-1
	mov	x2, x19
	bl	_errx
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recursion"

	.comm	_test,8,3                       ; @test
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.comm	_PF_UNIX,4,2                    ; @PF_UNIX
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_errno,8,3                      ; @errno
	.comm	_EMFILE,8,3                     ; @EMFILE
	.comm	_ENFILE,8,3                     ; @ENFILE
l_.str.2:                               ; @.str.2
	.asciz	"socketpair"

l_.str.3:                               ; @.str.3
	.asciz	"recursion: deferred before %d after %d"

	.no_dead_strip	_recursion
.subsections_via_symbols
