	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apr_socket_timeout_set         ## -- Begin function apr_socket_timeout_set
	.p2align	4, 0x90
_apr_socket_timeout_set:                ## @apr_socket_timeout_set
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	testq	%rsi, %rsi
	js	LBB0_6
## %bb.1:
	testq	%rax, %rax
	jns	LBB0_5
## %bb.2:
	movq	_APR_SO_NONBLOCK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_apr_is_option_set
	cmpl	$1, %eax
	je	LBB0_5
## %bb.3:
	movl	12(%rbx), %edi
	callq	_sononblock
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.4:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_apr_set_option
LBB0_5:
	testq	%r14, %r14
	jne	LBB0_11
	jmp	LBB0_10
LBB0_6:
	testq	%rax, %rax
	js	LBB0_10
## %bb.7:
	movq	_APR_SO_NONBLOCK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_apr_is_option_set
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	12(%rbx), %edi
	callq	_soblock
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.9:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_apr_set_option
LBB0_10:
	movq	_APR_INCOMPLETE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
LBB0_11:
	movq	%r14, (%rbx)
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SO_NONBLOCK,4,2            ## @APR_SO_NONBLOCK
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.comm	_APR_INCOMPLETE_READ,4,2        ## @APR_INCOMPLETE_READ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apr_socket_timeout_set         ; -- Begin function apr_socket_timeout_set
	.p2align	2
_apr_socket_timeout_set:                ; @apr_socket_timeout_set
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _APR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _APR_SUCCESS@GOTPAGEOFF]
	tbnz	x1, #63, LBB0_6
; %bb.1:
	tbz	x8, #63, LBB0_5
; %bb.2:
Lloh2:
	adrp	x22, _APR_SO_NONBLOCK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _APR_SO_NONBLOCK@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_apr_is_option_set
	cmp	w0, #1
	b.eq	LBB0_5
; %bb.3:
	ldr	w0, [x20, #12]
	bl	_sononblock
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.4:
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #1
	bl	_apr_set_option
LBB0_5:
	cbnz	x19, LBB0_11
	b	LBB0_10
LBB0_6:
	tbnz	x8, #63, LBB0_10
; %bb.7:
Lloh4:
	adrp	x22, _APR_SO_NONBLOCK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _APR_SO_NONBLOCK@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_apr_is_option_set
	cbz	w0, LBB0_10
; %bb.8:
	ldr	w0, [x20, #12]
	bl	_soblock
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.9:
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #0
	bl	_apr_set_option
LBB0_10:
Lloh6:
	adrp	x8, _APR_INCOMPLETE_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_INCOMPLETE_READ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	bic	w8, w9, w8
	str	w8, [x20, #8]
LBB0_11:
	str	x19, [x20]
	ldr	w0, [x21]
LBB0_12:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SO_NONBLOCK,4,2            ; @APR_SO_NONBLOCK
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.comm	_APR_INCOMPLETE_READ,4,2        ; @APR_INCOMPLETE_READ
.subsections_via_symbols
