	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_dirty_pollsets
_check_dirty_pollsets:                  ## @check_dirty_pollsets
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.2:
	decl	%ebx
	movq	_APR_SUCCESS@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$-1, %ebx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_GET_CONN
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%rax)
	movq	%rax, %rdi
	callq	_serf__conn_update_pollset
	cmpl	(%r15), %eax
	je	LBB0_5
	jmp	LBB0_8
LBB0_6:
	movq	$0, (%r14)
LBB0_7:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.no_dead_strip	_check_dirty_pollsets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_dirty_pollsets
_check_dirty_pollsets:                  ; @check_dirty_pollsets
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x21, _APR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _APR_SUCCESS@GOTPAGEOFF]
	cbz	w8, LBB0_6
; %bb.2:
	sub	w20, w8, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w20, w20, #1
	cmn	w20, #1
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_GET_CONN
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x0]
	bl	_serf__conn_update_pollset
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_3
	b	LBB0_8
LBB0_6:
	str	xzr, [x19]
	ldr	w0, [x21]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.no_dead_strip	_check_dirty_pollsets
.subsections_via_symbols
