	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apr_os_sock_put                ## -- Begin function apr_os_sock_put
	.p2align	4, 0x90
_apr_os_sock_put:                       ## @apr_os_sock_put
	.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
	movq	%rsi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	%rdx, %rsi
	callq	_alloc_socket
	movq	(%rbx), %rdi
	movq	_APR_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_set_socket_vars
	movq	(%rbx), %rax
	movl	$-1, (%rax)
LBB0_2:
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, 4(%rax)
	movl	$1, 12(%rax)
	movl	(%r14), %ecx
	movl	%ecx, 16(%rax)
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_INET,4,2                   ## @APR_INET
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apr_os_sock_put                ; -- Begin function apr_os_sock_put
	.p2align	2
_apr_os_sock_put:                       ; @apr_os_sock_put
	.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	x19, x1
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x1, x2
	bl	_alloc_socket
	ldr	x0, [x20]
Lloh0:
	adrp	x8, _APR_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_INET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_set_socket_vars
	ldr	x8, [x20]
	mov	w9, #-1
	str	w9, [x8]
LBB0_2:
	movi.2s	v0, #1
	stur	d0, [x8, #4]
	mov	w9, #1
	str	w9, [x8, #12]
	ldr	w9, [x19]
	str	w9, [x8, #16]
Lloh6:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_INET,4,2                   ; @APR_INET
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
.subsections_via_symbols
