	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_addrs_begemot_index_append
_bridge_addrs_begemot_index_append:     ## @bridge_addrs_begemot_index_append
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	8(%rdx), %edi
	callq	_bridge_if_find_name
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	movslq	%r12d, %r11
	movq	(%r15), %r12
	leaq	1(%r11), %rcx
	movq	%rcx, 8(%r15)
	movl	%eax, (%r12,%r11,4)
	testl	%eax, %eax
	jle	LBB0_24
## %bb.3:
	movl	%eax, %edx
	leaq	1(%rdx), %r13
	movl	$1, %r8d
	cmpl	$4, %eax
	jb	LBB0_17
## %bb.4:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leaq	8(%r15), %rax
	leaq	16(%r15), %rdx
	leaq	(%r12,%rcx,4), %rdi
	leaq	(%r11,%r13), %rsi
	leaq	(%r12,%rsi,4), %rsi
	leaq	(%rbx,%r13), %r9
	decq	%r9
	cmpq	%rsi, %rax
	setb	%r14b
	cmpq	%rdx, %rdi
	setb	%r10b
	cmpq	%rax, %r9
	seta	%al
	cmpq	%rdx, %rbx
	setb	-41(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rdi, %r9
	seta	%dl
	cmpq	%rsi, %rbx
	setb	%dil
	testb	%r10b, %r14b
	jne	LBB0_5
## %bb.6:
	andb	-41(%rbp), %al                  ## 1-byte Folded Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_17
## %bb.7:
	andb	%dil, %dl
	jne	LBB0_17
## %bb.8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%edi, %r8d
	andl	$-4, %r8d
	addq	$2, %r11
	leaq	-4(%r8), %rax
	movq	%rax, %r10
	shrq	$2, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r10, %r9
	andq	$-2, %r9
	xorl	%eax, %eax
	movq	%rcx, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%rbx,%rsi,4), %edi
	movd	%edi, %xmm0
	movzwl	2(%rbx,%rsi,4), %edi
	movd	%edi, %xmm1
	pmovsxbd	%xmm0, %xmm0
	pmovsxbd	%xmm1, %xmm1
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, (%r12,%rdx,4)
	movzwl	4(%rbx,%rsi,4), %edi
	movd	%edi, %xmm0
	movzwl	6(%rbx,%rsi,4), %edi
	movd	%edi, %xmm1
	pmovsxbd	%xmm0, %xmm0
	pmovsxbd	%xmm1, %xmm1
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, 16(%r12,%rdx,4)
	addq	$2, %rsi
	addq	$8, %rdx
	addq	$-8, %rax
	cmpq	%rsi, %r9
	jne	LBB0_11
## %bb.12:
	movq	%rdx, 8(%r15)
	subq	%rax, %r11
	negq	%rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testb	$1, %r10b
	je	LBB0_15
LBB0_14:
	leaq	(%rcx,%rax), %rdx
	movzwl	(%rbx,%rax), %esi
	movd	%esi, %xmm0
	movzwl	2(%rbx,%rax), %eax
	movd	%eax, %xmm1
	pmovsxbd	%xmm0, %xmm0
	pmovsxbd	%xmm1, %xmm1
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	addq	$3, %r11
	movq	%r11, 8(%r15)
	movdqu	%xmm0, (%r12,%rdx,4)
LBB0_15:
	addq	%r8, %rcx
	cmpq	%r8, %rdi
	je	LBB0_24
## %bb.16:
	orq	$1, %r8
	jmp	LBB0_17
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_30
LBB0_9:
	xorl	%eax, %eax
	testb	$1, %r10b
	jne	LBB0_14
	jmp	LBB0_15
LBB0_5:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_17:
	movq	%r8, %rdx
	notq	%rdx
	testb	$1, %r13b
	jne	LBB0_18
## %bb.19:
	movsbl	-1(%r8,%rbx), %esi
	leaq	1(%rcx), %rax
	movq	%rax, 8(%r15)
	movl	%esi, (%r12,%rcx,4)
	incq	%r8
	movq	%rax, %rcx
	addq	%r13, %rdx
	jne	LBB0_21
	jmp	LBB0_25
LBB0_18:
                                        ## implicit-def: $rax
	addq	%r13, %rdx
	je	LBB0_25
LBB0_21:
	leaq	(%r12,%rcx,4), %rax
	addq	$4, %rax
	subq	%r8, %r13
	addq	%r8, %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movsbl	-1(%rbx,%rdx), %esi
	leaq	(%rcx,%rdx), %rdi
	incq	%rdi
	movq	%rdi, 8(%r15)
	movl	%esi, -4(%rax,%rdx,4)
	movsbl	(%rbx,%rdx), %esi
	leaq	(%rcx,%rdx), %rdi
	addq	$2, %rdi
	movq	%rdi, 8(%r15)
	movl	%esi, (%rax,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %r13
	jne	LBB0_22
## %bb.23:
	addq	%rdx, %rcx
LBB0_24:
	movq	%rcx, %rax
LBB0_25:
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	leaq	1(%rax), %rcx
	movq	%rcx, 8(%r15)
	movl	%esi, (%r12,%rax,4)
	cmpl	$0, (%rdx)
	jle	LBB0_29
## %bb.26:
	movq	(%r14), %rsi
	leaq	(%r12,%rcx,4), %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %ebx
	movl	%ebx, (%rdi,%rax,4)
	movslq	(%rdx), %rbx
	incq	%rax
	cmpq	%rbx, %rax
	jl	LBB0_27
## %bb.28:
	addq	%rax, %rcx
	movq	%rcx, 8(%r15)
LBB0_29:
	xorl	%eax, %eax
LBB0_30:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHER_ADDR_LEN,4,2             ## @ETHER_ADDR_LEN
	.no_dead_strip	_bridge_addrs_begemot_index_append
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bridge_addrs_begemot_index_append
_bridge_addrs_begemot_index_append:     ; @bridge_addrs_begemot_index_append
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x2, #8]
	bl	_bridge_if_find_name
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	bl	_strlen
	sxtw	x10, w22
	ldr	x8, [x19]
	add	x11, x10, #1
	str	x11, [x19, #8]
	str	w0, [x8, w22, sxtw #2]
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	add	w9, w0, #1
	sub	x13, x9, #1
	cmp	x13, #16
	b.hs	LBB0_6
; %bb.3:
	mov	w12, #1
	b	LBB0_12
LBB0_4:
	mov	w0, #-1
	b	LBB0_20
LBB0_5:
	mov	x10, x11
	b	LBB0_15
LBB0_6:
	add	x12, x19, #8
	add	x15, x19, #16
	add	x16, x8, x11, lsl #2
	add	x10, x10, x9
	add	x17, x8, x10, lsl #2
	add	x10, x9, x21
	sub	x14, x10, #1
	cmp	x14, x12
	ccmp	x21, x15, #2, hi
	cset	w10, lo
	cmp	x14, x16
	ccmp	x21, x17, #2, hi
	cset	w14, lo
	cmp	x16, x15
	ccmp	x12, x17, #2, lo
	mov	w12, #1
	b.lo	LBB0_12
; %bb.7:
	tbnz	w10, #0, LBB0_12
; %bb.8:
	tbnz	w14, #0, LBB0_12
; %bb.9:
	and	x14, x13, #0xfffffffffffffff0
	add	x10, x11, x14
	orr	x12, x14, #0x1
	add	x15, x8, x11, lsl #2
	mov	x16, x14
	mov	x17, x21
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	q0, [x17], #16
	sshll.8h	v1, v0, #0
	sshll.4s	v2, v1, #0
	sshll2.8h	v0, v0, #0
	sshll.4s	v3, v0, #0
	sshll2.4s	v0, v0, #0
	stp	q3, q0, [x15, #32]
	sshll2.4s	v0, v1, #0
	stp	q2, q0, [x15], #64
	add	x11, x11, #16
	subs	x16, x16, #16
	b.ne	LBB0_10
; %bb.11:
	str	x11, [x19, #8]
	cmp	x13, x14
	b.eq	LBB0_15
	b	LBB0_13
LBB0_12:
	mov	x10, x11
LBB0_13:
	add	x11, x12, x21
	sub	x11, x11, #1
	sub	x9, x9, x12
	mov	x12, x10
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w13, [x11], #1
	add	x10, x12, #1
	str	x10, [x19, #8]
	str	w13, [x8, x12, lsl #2]
	mov	x12, x10
	subs	x9, x9, #1
	b.ne	LBB0_14
LBB0_15:
Lloh0:
	adrp	x9, _ETHER_ADDR_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETHER_ADDR_LEN@GOTPAGEOFF]
	ldr	w12, [x9]
	add	x11, x10, #1
	str	x11, [x19, #8]
	str	w12, [x8, x10, lsl #2]
	ldr	w10, [x9]
	cmp	w10, #1
	b.lt	LBB0_19
; %bb.16:
	mov	x10, #0
	ldr	x12, [x20]
	add	x8, x8, x11, lsl #2
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	lsl	x13, x10, #2
	ldr	w14, [x12, x13]
	str	w14, [x8, x13]
	ldrsw	x13, [x9]
	add	x10, x10, #1
	cmp	x10, x13
	b.lt	LBB0_17
; %bb.18:
	mov	w0, #0
	add	x8, x11, x10
	str	x8, [x19, #8]
	b	LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHER_ADDR_LEN,4,2             ; @ETHER_ADDR_LEN
	.no_dead_strip	_bridge_addrs_begemot_index_append
.subsections_via_symbols
