	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_bind_peer                   ## -- Begin function rt_bind_peer
	.p2align	4, 0x90
_rt_bind_peer:                          ## @rt_bind_peer
	.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	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_inet_getpeer
	movq	%rax, %r14
	leaq	_rt_bind_peer.rt_peer_lock(%rip), %rdi
	callq	_spin_lock_bh
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	leaq	_rt_bind_peer.rt_peer_lock(%rip), %rdi
	callq	_spin_unlock_bh
	testq	%r14, %r14
	je	LBB0_2
## %bb.4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_inet_putpeer                   ## TAILCALL
LBB0_3:
	movq	%r14, (%rbx)
	leaq	_rt_bind_peer.rt_peer_lock(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_rt_bind_peer.rt_peer_lock,4,2 ## @rt_bind_peer.rt_peer_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_bind_peer                   ; -- Begin function rt_bind_peer
	.p2align	2
_rt_bind_peer:                          ; @rt_bind_peer
	.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	x20, x0
	ldr	w0, [x0, #8]
	bl	_inet_getpeer
	mov	x19, x0
Lloh0:
	adrp	x0, _rt_bind_peer.rt_peer_lock@PAGE
Lloh1:
	add	x0, x0, _rt_bind_peer.rt_peer_lock@PAGEOFF
	bl	_spin_lock_bh
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x0, _rt_bind_peer.rt_peer_lock@PAGE
Lloh3:
	add	x0, x0, _rt_bind_peer.rt_peer_lock@PAGEOFF
	bl	_spin_unlock_bh
	cbz	x19, LBB0_4
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_inet_putpeer
LBB0_3:
	str	x19, [x20]
Lloh4:
	adrp	x0, _rt_bind_peer.rt_peer_lock@PAGE
Lloh5:
	add	x0, x0, _rt_bind_peer.rt_peer_lock@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_bh
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_rt_bind_peer.rt_peer_lock,4,2 ; @rt_bind_peer.rt_peer_lock
.subsections_via_symbols
