	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function br_should_become_designated_port
_br_should_become_designated_port:      ## @br_should_become_designated_port
	.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
	movq	%rdi, %rbx
	movq	32(%rdi), %r15
	callq	_br_is_designated_port
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	leaq	28(%rbx), %rdi
	leaq	12(%r15), %rsi
	movl	$8, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_8
## %bb.3:
	cmpq	%rcx, %rax
	jle	LBB0_5
## %bb.4:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_5:
	addq	$8, %r15
	leaq	24(%rbx), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_memcmp
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	movl	$0, %r14d
	jne	LBB0_8
## %bb.7:
	movq	8(%rbx), %rax
	xorl	%r14d, %r14d
	cmpq	16(%rbx), %rax
	setl	%r14b
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_br_should_become_designated_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function br_should_become_designated_port
_br_should_become_designated_port:      ; @br_should_become_designated_port
	.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	x19, x0
	ldr	x20, [x0, #32]
	bl	_br_is_designated_port
	cbnz	x0, LBB0_3
; %bb.1:
	add	x0, x19, #28
	add	x1, x20, #12
	mov	w2, #8
	bl	_memcmp
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ge	LBB0_5
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	b.gt	LBB0_8
; %bb.6:
	add	x0, x20, #8
	add	x1, x19, #24
	mov	w2, #8
	bl	_memcmp
	tbnz	w0, #31, LBB0_3
; %bb.7:
	cbz	w0, LBB0_9
LBB0_8:
	mov	w0, #0
	b	LBB0_4
LBB0_9:
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	cset	w0, lt
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_br_should_become_designated_port
.subsections_via_symbols
