	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_clean_part_key
_qib_clean_part_key:                    ## @qib_clean_part_key
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	movq	8(%r15), %r14
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_12
## %bb.1:
	xorl	%r13d, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	movl	$0, (%rdi,%r13,4)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r13
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r15), %rdi
	cmpl	$0, (%rdi,%r13,4)
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rdi
	movq	(%r15), %rax
	movl	(%rax,%r13,4), %eax
	xorl	(%rdi,%rbx), %eax
	testl	$32767, %eax                    ## imm = 0x7FFF
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%r12
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_5
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rdi
	addq	%rbx, %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	$0, (%rax,%rbx)
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_9
LBB0_11:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
## %bb.13:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	_QIB_IB_CFG_PKEYS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QIB_IB_CFG_PKEYS,4,2           ## @QIB_IB_CFG_PKEYS
	.no_dead_strip	_qib_clean_part_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_clean_part_key
_qib_clean_part_key:                    ; @qib_clean_part_key
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	ldp	x0, x19, [x0]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x22, #0
	mov	w21, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20]
	str	wzr, [x0, x22, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x0, [x20]
	ldr	w8, [x0, x22, lsl #2]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
	mov	x24, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x19]
	ldr	w8, [x0, x23]
	ldr	x9, [x20]
	ldr	w9, [x9, x22, lsl #2]
	eor	w8, w9, w8
	tst	w8, #0x7fff
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x24, #1
	bl	_ARRAY_SIZE
	add	x23, x23, #4
	cmp	x24, w0, sxtw
	b.lt	LBB0_7
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x23
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	str	wzr, [x8, x23]
	add	w21, w21, #1
	b	LBB0_2
LBB0_11:
	cbz	w21, LBB0_13
; %bb.12:
	ldr	x8, [x19, #8]
	ldr	x3, [x8]
Lloh0:
	adrp	x8, _QIB_IB_CFG_PKEYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QIB_IB_CFG_PKEYS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x3
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QIB_IB_CFG_PKEYS,4,2           ; @QIB_IB_CFG_PKEYS
	.no_dead_strip	_qib_clean_part_key
.subsections_via_symbols
