	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addrinfo_wrap
_addrinfo_wrap:                         ## @addrinfo_wrap
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movl	%edi, %r13d
	movl	$32, %edi
	callq	_OPENSSL_zalloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r13d, (%rax)
	movl	%r14d, 4(%rax)
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_4
## %bb.3:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
LBB0_4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
LBB0_6:
	xorl	%eax, %eax
	callq	_BIO_ADDR_new
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rbx
	movzwl	-44(%rbp), %r8d                 ## 2-byte Folded Reload
	movq	%rax, %rdi
	movl	%r13d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_BIO_ADDR_rawmake
	movq	%rbx, %rdi
	callq	_BIO_ADDR_sockaddr_noconst
	movq	(%r15), %rcx
	movq	%rax, 8(%rcx)
LBB0_8:
	movq	(%r15), %rax
	movq	$0, 16(%rax)
	movq	(%r15), %rdi
	movl	$1, %eax
	cmpq	$0, 8(%rdi)
	jne	LBB0_11
## %bb.9:
	callq	_BIO_ADDRINFO_free
	movq	$0, (%r15)
	jmp	LBB0_10
LBB0_1:
	movq	_BIO_F_ADDRINFO_WRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIOerr
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_F_ADDRINFO_WRAP,4,2        ## @BIO_F_ADDRINFO_WRAP
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.no_dead_strip	_addrinfo_wrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addrinfo_wrap
_addrinfo_wrap:                         ; @addrinfo_wrap
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x23, x0
	mov	w0, #32
	bl	_OPENSSL_zalloc
	str	x0, [x19]
	cbz	x0, LBB0_9
; %bb.1:
	stp	w23, w24, [x0]
Lloh0:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x0, #24]
LBB0_3:
Lloh6:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x0, #24]
LBB0_5:
	bl	_BIO_ADDR_new
	cbz	x0, LBB0_7
; %bb.6:
	mov	x24, x0
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_BIO_ADDR_rawmake
	mov	x0, x24
	bl	_BIO_ADDR_sockaddr_noconst
	ldr	x8, [x19]
	str	x0, [x8, #8]
LBB0_7:
	ldr	x8, [x19]
	str	xzr, [x8, #16]
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.8:
	mov	w0, #1
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x8, _BIO_F_ADDRINFO_WRAP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BIO_F_ADDRINFO_WRAP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_BIOerr
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	bl	_BIO_ADDRINFO_free
	mov	w0, #0
	str	xzr, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_F_ADDRINFO_WRAP,4,2        ; @BIO_F_ADDRINFO_WRAP
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.no_dead_strip	_addrinfo_wrap
.subsections_via_symbols
