	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swrap_bind                     ## -- Begin function swrap_bind
	.p2align	4, 0x90
_swrap_bind:                            ## @swrap_bind
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movl	%edi, %r14d
	callq	_find_socket_info
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movl	%r15d, (%rax)
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_sockaddr_dup
	movl	%eax, 12(%rbx)
	movq	%rbx, %r9
	addq	$8, %r9
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	$1, %r8d
	callq	_sockaddr_convert_to_un
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	movl	-40(%rbp), %edi
	callq	_unlink
	leaq	-40(%rbp), %rsi
	movl	%r14d, %edi
	movl	$4, %edx
	callq	_real_bind
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	$1, 4(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_6:
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_real_bind                      ## TAILCALL
LBB0_2:
	movl	$-1, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swrap_bind                     ; -- Begin function swrap_bind
	.p2align	2
_swrap_bind:                            ; @swrap_bind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_find_socket_info
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	str	w21, [x0]
	mov	x0, x22
	mov	x1, x21
	bl	_sockaddr_dup
	str	w0, [x19, #12]
	add	x5, x19, #8
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w4, #1
	bl	_sockaddr_convert_to_un
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	ldr	w0, [sp, #8]
	bl	_unlink
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #4
	bl	_real_bind
	cbnz	w0, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_4:
	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
	add	sp, sp, #64
	ret
LBB0_5:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	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
	add	sp, sp, #64
	b	_real_bind
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
