	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_find_bound                 ## -- Begin function rds_find_bound
	.p2align	4, 0x90
_rds_find_bound:                        ## @rds_find_bound
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, -28(%rbp)
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_rds_bind_lookup
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_rds_rs_to_sk
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_sock_flag
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	callq	_rds_sock_addref
	movq	%r15, %rbx
LBB0_4:
	movl	%r14d, %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rdi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rsi
	movl	%eax, %ecx
	callq	_rdsdebug
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"returning rs %p for %pI4:%u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_find_bound                 ; -- Begin function rds_find_bound
	.p2align	2
_rds_find_bound:                        ; @rds_find_bound
	.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, x1
	str	w0, [sp, #12]
	mov	x2, #0
	bl	_rds_bind_lookup
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_rds_rs_to_sk
Lloh0:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_sock_flag
	cbz	w0, LBB0_3
; %bb.2:
	mov	x20, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_rds_sock_addref
LBB0_4:
	mov	x0, x19
	bl	_ntohs
	mov	x3, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x1, x20
	bl	_rdsdebug
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"returning rs %p for %pI4:%u\n"

.subsections_via_symbols
