	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf__process_client           ## -- Begin function serf__process_client
	.p2align	4, 0x90
_serf__process_client:                  ## @serf__process_client
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_APR_POLLIN@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_read_from_client
	testq	%rax, %rax
	jne	LBB0_10
LBB0_2:
	movq	_APR_POLLHUP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_APR_ECONNRESET@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_APR_POLLERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_APR_EGENERAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_APR_POLLOUT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_write_to_client
	testq	%rax, %rax
	jne	LBB0_10
LBB0_8:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_POLLIN,4,2                 ## @APR_POLLIN
	.comm	_APR_POLLHUP,4,2                ## @APR_POLLHUP
	.comm	_APR_ECONNRESET,8,3             ## @APR_ECONNRESET
	.comm	_APR_POLLERR,4,2                ## @APR_POLLERR
	.comm	_APR_EGENERAL,8,3               ## @APR_EGENERAL
	.comm	_APR_POLLOUT,4,2                ## @APR_POLLOUT
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf__process_client           ; -- Begin function serf__process_client
	.p2align	2
_serf__process_client:                  ; @serf__process_client
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _APR_POLLIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_POLLIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_read_from_client
	cbnz	x0, LBB0_10
LBB0_2:
Lloh3:
	adrp	x8, _APR_POLLHUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_POLLHUP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _APR_ECONNRESET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_ECONNRESET@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
Lloh8:
	adrp	x8, _APR_POLLERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _APR_POLLERR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _APR_EGENERAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _APR_EGENERAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh13:
	adrp	x8, _APR_POLLOUT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _APR_POLLOUT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_write_to_client
	cbnz	x0, LBB0_10
LBB0_8:
Lloh16:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
LBB0_9:
	ldr	x0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_POLLIN,4,2                 ; @APR_POLLIN
	.comm	_APR_POLLHUP,4,2                ; @APR_POLLHUP
	.comm	_APR_ECONNRESET,8,3             ; @APR_ECONNRESET
	.comm	_APR_POLLERR,4,2                ; @APR_POLLERR
	.comm	_APR_EGENERAL,8,3               ; @APR_EGENERAL
	.comm	_APR_POLLOUT,4,2                ; @APR_POLLOUT
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
.subsections_via_symbols
