	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_UpdateSet
_exec_UpdateSet:                        ## @exec_UpdateSet
	.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
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_descriptor2physical
	movq	%rax, %r14
	movl	4(%rax), %edi
	callq	_device2exec
	movq	%rax, %r15
	movl	$1, %ecx
	movb	$1, %al
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	testl	%edi, %edi
	js	LBB0_4
## %bb.3:
	movq	%r13, %rsi
	callq	_FD_SET
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	movl	$2, %ecx
	xorl	%r13d, %r13d
	xorl	%eax, %eax
LBB0_4:
	testq	%rbx, %rbx
	jne	LBB0_5
	jmp	LBB0_7
LBB0_1:
	xorl	%r13d, %r13d
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_5:
	movl	(%r15), %edi
	testl	%edi, %edi
	js	LBB0_7
## %bb.6:
	movq	%rbx, %r12
	movq	%rbx, %rsi
	movl	%ecx, %ebx
	callq	_FD_SET
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rsi
	callq	_log_Printf
	movl	%ebx, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %r12
	movl	$1, %ecx
	xorl	%ebx, %ebx
	testb	%al, %al
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_11
LBB0_8:
	movl	(%r15), %eax
	cmpl	%eax, (%r8)
	jg	LBB0_10
## %bb.9:
	incl	%eax
	movl	%eax, (%r8)
LBB0_10:
	movl	%ecx, %ebx
LBB0_11:
	movq	%r13, %rdx
	movq	%r12, %rcx
	xorl	%r9d, %r9d
	callq	_physical_doUpdateSet
	addl	%ebx, %eax
	addq	$24, %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: fdset(w) %d\n"

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

	.no_dead_strip	_exec_UpdateSet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_UpdateSet
_exec_UpdateSet:                        ; @exec_UpdateSet
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	bl	_descriptor2physical
	mov	x25, x0
	ldr	w0, [x0, #4]
	bl	_device2exec
	mov	x24, x0
	cbz	x23, LBB0_3
; %bb.1:
	ldr	w0, [x24]
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	x1, x23
	bl	_FD_SET
Lloh0:
	adrp	x8, _LogTIMER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogTIMER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x25]
	ldr	w3, [x24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	mov	x23, #0
	mov	w8, #0
	mov	w26, #2
	cbnz	x20, LBB0_4
	b	LBB0_6
LBB0_3:
	mov	w8, #1
	mov	w26, #1
	cbz	x20, LBB0_6
LBB0_4:
	ldr	w0, [x24]
	tbnz	w0, #31, LBB0_6
; %bb.5:
	mov	x1, x20
	bl	_FD_SET
Lloh5:
	adrp	x8, _LogTIMER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LogTIMER@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w2, [x25]
	ldr	w3, [x24]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_Printf
	b	LBB0_9
LBB0_6:
	tbz	w8, #0, LBB0_8
; %bb.7:
	mov	w26, #0
	b	LBB0_11
LBB0_8:
	mov	w26, #1
LBB0_9:
	ldr	w9, [x19]
	ldr	w8, [x24]
	cmp	w9, w8
	b.gt	LBB0_11
; %bb.10:
	add	w8, w8, #1
	str	w8, [x19]
LBB0_11:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	mov	w5, #0
	bl	_physical_doUpdateSet
	add	w0, w0, w26
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LogTIMER,4,2                   ; @LogTIMER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: fdset(w) %d\n"

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

	.no_dead_strip	_exec_UpdateSet
.subsections_via_symbols
