	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_get_accept_socket          ## -- Begin function BIO_get_accept_socket
	.p2align	4, 0x90
_BIO_get_accept_socket:                 ## @BIO_get_accept_socket
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	_BIO_PARSE_PRIO_SERV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_BIO_parse_hostserv
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	xorl	%eax, %eax
	callq	_BIO_sock_init
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.2:
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movq	_BIO_LOOKUP_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-40(%rbp), %r9
	callq	_BIO_lookup
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	-40(%rbp), %rdi
	callq	_BIO_ADDRINFO_family
	movl	%eax, %r15d
	movq	-40(%rbp), %rdi
	callq	_BIO_ADDRINFO_socktype
	movl	%eax, %ebx
	movq	-40(%rbp), %rdi
	callq	_BIO_ADDRINFO_protocol
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_BIO_socket
	movl	%eax, %ebx
	cmpl	(%r12), %eax
	je	LBB0_8
## %bb.4:
	movq	-40(%rbp), %rdi
	callq	_BIO_ADDRINFO_address
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	movq	_BIO_SOCK_REUSEADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_6:
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_BIO_listen
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	%ebx, %edi
	callq	_BIO_closesocket
	movl	(%r12), %ebx
LBB0_8:
	movq	-40(%rbp), %rdi
	callq	_BIO_ADDRINFO_free
	movq	-56(%rbp), %rdi
	callq	_OPENSSL_free
	movq	-48(%rbp), %rdi
	callq	_OPENSSL_free
	jmp	LBB0_11
LBB0_10:
	movl	(%r12), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVALID_SOCKET,4,2             ## @INVALID_SOCKET
	.comm	_BIO_PARSE_PRIO_SERV,4,2        ## @BIO_PARSE_PRIO_SERV
	.comm	_BIO_LOOKUP_SERVER,4,2          ## @BIO_LOOKUP_SERVER
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_BIO_SOCK_REUSEADDR,4,2         ## @BIO_SOCK_REUSEADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_get_accept_socket          ; -- Begin function BIO_get_accept_socket
	.p2align	2
_BIO_get_accept_socket:                 ; @BIO_get_accept_socket
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
Lloh0:
	adrp	x22, _INVALID_SOCKET@GOTPAGE
Lloh1:
	ldr	x22, [x22, _INVALID_SOCKET@GOTPAGEOFF]
	ldr	w19, [x22]
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
Lloh2:
	adrp	x8, _BIO_PARSE_PRIO_SERV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BIO_PARSE_PRIO_SERV@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_BIO_parse_hostserv
	cbz	w0, LBB0_7
; %bb.1:
	bl	_BIO_sock_init
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.2:
	ldp	x1, x0, [sp, #16]
Lloh5:
	adrp	x8, _BIO_LOOKUP_SERVER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BIO_LOOKUP_SERVER@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _AF_UNSPEC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AF_UNSPEC@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	add	x5, sp, #8
	bl	_BIO_lookup
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	x0, [sp, #8]
	bl	_BIO_ADDRINFO_family
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_BIO_ADDRINFO_socktype
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_BIO_ADDRINFO_protocol
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_BIO_socket
	mov	x19, x0
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.4:
	ldr	x0, [sp, #8]
	bl	_BIO_ADDRINFO_address
	mov	x1, x0
Lloh14:
	adrp	x8, _BIO_SOCK_REUSEADDR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BIO_SOCK_REUSEADDR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w20, #0
	csel	w2, wzr, w8, eq
	mov	x0, x19
	bl	_BIO_listen
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_BIO_closesocket
	ldr	w19, [x22]
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_BIO_ADDRINFO_free
	ldr	x0, [sp, #24]
	bl	_OPENSSL_free
	ldr	x0, [sp, #16]
	bl	_OPENSSL_free
	b	LBB0_8
LBB0_7:
	ldr	w19, [x22]
LBB0_8:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_INVALID_SOCKET,4,2             ; @INVALID_SOCKET
	.comm	_BIO_PARSE_PRIO_SERV,4,2        ; @BIO_PARSE_PRIO_SERV
	.comm	_BIO_LOOKUP_SERVER,4,2          ; @BIO_LOOKUP_SERVER
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_BIO_SOCK_REUSEADDR,4,2         ; @BIO_SOCK_REUSEADDR
.subsections_via_symbols
