	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fivesome_drop_work
_fivesome_drop_work:                    ## @fivesome_drop_work
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
	movq	_test@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	leaq	-60(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_save_sysctls
	leaq	-52(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_alloc5fds
	movl	-40(%rbp), %edi
	movl	-52(%rbp), %esi
	callq	_sendfd
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movl	-52(%rbp), %edi
	callq	_close
LBB0_2:
	movl	-48(%rbp), %edi
	movl	-40(%rbp), %esi
	callq	_sendfd
	movl	-48(%rbp), %edi
	movl	-36(%rbp), %esi
	callq	_sendfd
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movl	-40(%rbp), %edi
	movl	-36(%rbp), %esi
	callq	_close2
	movl	-48(%rbp), %edi
	leaq	-44(%rbp), %rbx
	jmp	LBB0_5
LBB0_4:
	leaq	-36(%rbp), %rbx
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_close2
	movl	-40(%rbp), %edi
LBB0_5:
	movl	(%rbx), %esi
	callq	_close2
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.6:
	movl	-52(%rbp), %edi
	callq	_close
LBB0_7:
	movl	-60(%rbp), %edi
	movl	-56(%rbp), %esi
	callq	_test_sysctls
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_test,8,3                       ## @test
	.no_dead_strip	_fivesome_drop_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fivesome_drop_work
_fivesome_drop_work:                    ; @fivesome_drop_work
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_printf
Lloh5:
	adrp	x8, _test@GOTPAGE
Lloh6:
	ldr	x8, [x8, _test@GOTPAGEOFF]
Lloh7:
	str	x21, [x8]
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_save_sysctls
	add	x21, sp, #32
	add	x0, sp, #12
	add	x1, sp, #32
	add	x2, sp, #24
	bl	_alloc5fds
	ldr	w0, [sp, #32]
	ldr	w1, [sp, #12]
	bl	_sendfd
	cbz	w19, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_close
LBB0_2:
	ldr	w0, [sp, #24]
	ldr	w1, [sp, #32]
	bl	_sendfd
	ldr	w0, [sp, #24]
	ldr	w1, [sp, #36]
	bl	_sendfd
	cbz	w20, LBB0_4
; %bb.3:
	ldp	w0, w1, [sp, #32]
	bl	_close2
	ldr	w0, [sp, #24]
	add	x8, sp, #24
	add	x20, x8, #4
	b	LBB0_5
LBB0_4:
	add	x20, x21, #4
	ldp	w0, w1, [sp, #24]
	bl	_close2
	ldr	w0, [sp, #32]
LBB0_5:
	ldr	w1, [x20]
	bl	_close2
	cbnz	w19, LBB0_7
; %bb.6:
	ldr	w0, [sp, #12]
	bl	_close
LBB0_7:
	ldp	w1, w0, [sp, #16]
	bl	_test_sysctls
	ldr	x8, [sp, #40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	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
	add	sp, sp, #96
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_test,8,3                       ; @test
	.no_dead_strip	_fivesome_drop_work
.subsections_via_symbols
