	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_mgrp_box_port
_next_mgrp_box_port:                    ## @next_mgrp_box_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	%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	%rdi, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rbx
	movq	_list_item@GOTPCREL(%rip), %r15
                                        ## implicit-def: $r14
	testq	%rbx, %rbx
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_2:
	movq	%r12, %rdi
	callq	_cl_qlist_head
	movq	%rax, %rbx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_cl_qlist_end
	cmpq	%rax, %rbx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cl_item_obj
	movq	%rax, %r14
	testq	%r13, %r13
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	8(%r14), %rdi
	callq	_cl_qmap_head
	movq	%rax, %r13
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	8(%r14), %rdi
	callq	_cl_qmap_end
	cmpq	%rax, %r13
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_cl_qlist_next
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_2
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_9:
	movq	_map_item@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_cl_item_obj
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_cl_qmap_next
	movq	%rax, %r13
	movq	(%r14), %rcx
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movq	%rcx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_list_item,4,2                  ## @list_item
	.comm	_map_item,4,2                   ## @map_item
	.no_dead_strip	_next_mgrp_box_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_mgrp_box_port
_next_mgrp_box_port:                    ; @next_mgrp_box_port
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	ldr	x22, [x2]
	ldr	x21, [x1]
Lloh0:
	adrp	x25, _list_item@GOTPAGE
Lloh1:
	ldr	x25, [x25, _list_item@GOTPAGEOFF]
                                        ; implicit-def: $x24
	cbnz	x21, LBB0_2
LBB0_1:
	mov	x0, x23
	bl	_cl_qlist_head
	mov	x21, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_cl_qlist_end
	cmp	x21, x0
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x25]
	mov	x0, x21
	mov	x1, x24
	bl	_cl_item_obj
	mov	x24, x0
	cbnz	x22, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x24, #8
	bl	_cl_qmap_head
	mov	x22, x0
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x24, #8
	bl	_cl_qmap_end
	cmp	x22, x0
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_cl_qlist_next
	mov	x21, x0
	mov	x22, #0
	cbnz	x21, LBB0_2
	b	LBB0_1
LBB0_7:
	mov	x0, #0
	mov	x21, #0
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _map_item@GOTPAGE
Lloh3:
	ldr	x8, [x8, _map_item@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_cl_item_obj
	mov	x23, x0
	mov	x0, x22
	bl	_cl_qmap_next
	mov	x22, x0
	ldr	x0, [x23]
LBB0_9:
	str	x21, [x20]
	str	x22, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_list_item,4,2                  ; @list_item
	.comm	_map_item,4,2                   ; @map_item
	.no_dead_strip	_next_mgrp_box_port
.subsections_via_symbols
