	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_slot_remove
_bridge_slot_remove:                    ## @bridge_slot_remove
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	24(%rax), %eax
	movzbl	%ah, %ebx
	shrl	$16, %eax
	movzbl	%al, %r15d
	cmpl	%r15d, %ebx
	ja	LBB0_4
## %bb.1:
	incq	%r15
	movq	_cpqhp_slot_list@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_slot_remove
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%r15, %rbx
	jne	LBB0_2
LBB0_4:
	movq	_cpqhp_slot_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movq	(%rax,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.6:
	cmpq	%r14, %rdx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rcx
	movq	16(%rdx), %rdx
	cmpq	%r14, %rdx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_8
LBB0_10:
	movl	$2, %eax
	cmpq	%r14, %rdx
	jne	LBB0_13
## %bb.11:
	addq	$16, %rcx
	jmp	LBB0_12
LBB0_5:
	movl	$1, %eax
	jmp	LBB0_13
LBB0_7:
	leaq	(%rax,%rcx,8), %rcx
LBB0_12:
	movq	16(%r14), %rax
	movq	%rax, (%rcx)
	movq	%r14, %rdi
	callq	_kfree
	xorl	%eax, %eax
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpqhp_slot_list,8,3            ## @cpqhp_slot_list
	.no_dead_strip	_bridge_slot_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bridge_slot_remove
_bridge_slot_remove:                    ; @bridge_slot_remove
	.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	x19, x0
	ldr	x8, [x0]
	ldr	w8, [x8, #24]
	ubfx	x20, x8, #8, #8
	ubfx	x8, x8, #16, #8
Lloh0:
	adrp	x21, _cpqhp_slot_list@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cpqhp_slot_list@GOTPAGEOFF]
	cmp	w20, w8
	b.hi	LBB0_4
; %bb.1:
	add	x22, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x0, [x8, x20, lsl #3]
	bl	_slot_remove
	cbz	w0, LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	cmp	x20, x22
	b.ne	LBB0_2
LBB0_4:
	ldr	x8, [x21]
	ldr	x9, [x19, #8]
	add	x9, x8, x9, lsl #3
	ldr	x8, [x9]
	cbz	x8, LBB0_9
; %bb.5:
	cmp	x8, x19
	b.eq	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #16]
	cmp	x8, x19
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_6
; %bb.7:
	cmp	x8, x19
	b.eq	LBB0_10
; %bb.8:
	mov	w0, #2
	b	LBB0_12
LBB0_9:
	mov	w0, #1
	b	LBB0_12
LBB0_10:
	add	x9, x9, #16
LBB0_11:
	ldr	x8, [x19, #16]
	str	x8, [x9]
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
LBB0_12:
	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	_cpqhp_slot_list,8,3            ; @cpqhp_slot_list
	.no_dead_strip	_bridge_slot_remove
.subsections_via_symbols
