	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fake_listener_create
_fake_listener_create:                  ## @fake_listener_create
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$16, -20(%rbp)
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	$0, 8(%rbx)
	movl	$2130706433, %edi               ## imm = 0x7F000001
	callq	_htonl
	movl	%eax, 4(%rbx)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, (%rbx)
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movq	%rax, %r14
	movq	%rax, %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_tt_assert
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_bind
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_tt_assert
	leaq	-20(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_getsockname
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_tt_assert
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.no_dead_strip	_fake_listener_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fake_listener_create
_fake_listener_create:                  ; @fake_listener_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w8, #16
	str	w8, [sp, #12]
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	str	xzr, [x19, #8]
	mov	w0, #1
	movk	w0, #32512, lsl #16
	bl	_htonl
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w0, [x19]
Lloh3:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x0, x8
	mov	w2, #0
	bl	_socket
	mov	x20, x0
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_tt_assert
	mov	x0, x20
	mov	x1, x19
	mov	w2, #16
	bl	_bind
	cmp	x0, #0
	cset	w0, eq
	bl	_tt_assert
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_getsockname
	cmp	x0, #0
	cset	w0, eq
	bl	_tt_assert
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.no_dead_strip	_fake_listener_create
.subsections_via_symbols
