	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_port_index_decode
_bridge_port_index_decode:              ## @bridge_port_index_decode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rdi), %r10
	movq	8(%rdi), %r8
	subq	%rsi, %r10
	movslq	(%r8,%rsi,4), %r9
	leaq	2(%r9), %r11
	movl	$-1, %eax
	cmpq	%r11, %r10
	jne	LBB0_7
## %bb.1:
	movq	_IFNAMSIZ@GOTPCREL(%rip), %r10
	cmpl	(%r10), %r9d
	jge	LBB0_7
## %bb.2:
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	LBB0_3
## %bb.4:
	leaq	4(,%rsi,4), %r9
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addq	%r9, %r8
	leaq	1(%r11), %r10
	movzbl	(%r8,%r11,4), %r8d
	movb	%r8b, (%rdx,%r11)
	movq	8(%rdi), %r8
	movslq	(%r8,%rsi,4), %rbx
	movq	%r10, %r11
	cmpq	%rbx, %r10
	jb	LBB0_5
	jmp	LBB0_6
LBB0_3:
	xorl	%r10d, %r10d
LBB0_6:
	movb	$0, (%rdx,%r10)
	movq	8(%rdi), %rdx
	addq	%r10, %rsi
	movb	4(%rdx,%rsi,4), %dl
	movb	%dl, (%rcx)
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.no_dead_strip	_bridge_port_index_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bridge_port_index_decode
_bridge_port_index_decode:              ; @bridge_port_index_decode
	.cfi_startproc
; %bb.0:
	ldp	x10, x8, [x0]
	ldrsw	x9, [x8, x1, lsl #2]
	add	x11, x9, #2
Lloh0:
	adrp	x12, _IFNAMSIZ@GOTPAGE
Lloh1:
	ldr	x12, [x12, _IFNAMSIZ@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	sub	x10, x10, x1
	cmp	x10, x11
	ccmp	w9, w12, #0, eq
	b.lt	LBB0_2
; %bb.1:
	mov	w0, #-1
	ret
LBB0_2:
	cbz	w9, LBB0_5
; %bb.3:
	mov	x10, #0
	lsl	x9, x1, #2
	add	x9, x9, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x9
	ldr	w8, [x8, x10, lsl #2]
	strb	w8, [x2, x10]
	add	x11, x10, #1
	ldr	x8, [x0, #8]
	ldrsw	x12, [x8, x1, lsl #2]
	mov	x10, x11
	cmp	x11, x12
	b.lo	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	x11, #0
LBB0_6:
	strb	wzr, [x2, x11]
	ldr	x9, [x0, #8]
	add	x10, x11, x1
	add	x9, x9, x10, lsl #2
	ldr	w9, [x9, #4]
	strb	w9, [x3]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.no_dead_strip	_bridge_port_index_decode
.subsections_via_symbols
