	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_RemoveFromSet
_exec_RemoveFromSet:                    ## @exec_RemoveFromSet
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	callq	_device2exec
	movq	%rax, %r12
	movq	8(%r14), %rax
	movq	$0, (%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_physical_RemoveFromSet
	movl	%eax, %ebx
	movq	8(%r14), %rax
	leaq	_exec_RemoveFromSet(%rip), %rcx
	movq	%rcx, (%rax)
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	js	LBB0_7
## %bb.1:
	testq	%r13, %r13
	je	LBB0_4
## %bb.2:
	movq	%r13, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r12), %rdi
	movq	%r13, %rsi
	callq	_FD_CLR
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	(%r12), %rcx
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	incl	%ebx
LBB0_4:
	testq	%r15, %r15
	je	LBB0_7
## %bb.5:
	movq	(%r12), %rdi
	movq	%r15, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%r12), %rdi
	movq	%r15, %rsi
	callq	_FD_CLR
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	(%r12), %rcx
	leaq	L_.str.1(%rip), %rsi
	callq	_log_Printf
	incl	%ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogTIMER,4,2                   ## @LogTIMER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: fdunset(w) %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: fdunset(e) %d\n"

	.no_dead_strip	_exec_RemoveFromSet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_RemoveFromSet
_exec_RemoveFromSet:                    ; @exec_RemoveFromSet
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0, #8]
	bl	_device2exec
	mov	x22, x0
	ldr	x8, [x20, #8]
	str	xzr, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
	bl	_physical_RemoveFromSet
	mov	x19, x0
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _exec_RemoveFromSet@PAGE
Lloh1:
	add	x9, x9, _exec_RemoveFromSet@PAGEOFF
	str	x9, [x8]
	ldr	x0, [x22]
	tbnz	x0, #63, LBB0_7
; %bb.1:
	cbz	x23, LBB0_4
; %bb.2:
	mov	x1, x23
	bl	_FD_ISSET
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x22]
	mov	x1, x23
	bl	_FD_CLR
Lloh2:
	adrp	x8, _LogTIMER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LogTIMER@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w2, [x20]
	ldr	x3, [x22]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	add	w19, w19, #1
LBB0_4:
	cbz	x21, LBB0_7
; %bb.5:
	ldr	x0, [x22]
	mov	x1, x21
	bl	_FD_ISSET
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x22]
	mov	x1, x21
	bl	_FD_CLR
Lloh7:
	adrp	x8, _LogTIMER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LogTIMER@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w2, [x20]
	ldr	x3, [x22]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_Printf
	add	w19, w19, #1
LBB0_7:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LogTIMER,4,2                   ; @LogTIMER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: fdunset(w) %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: fdunset(e) %d\n"

	.no_dead_strip	_exec_RemoveFromSet
.subsections_via_symbols
