	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfi_unmask
_pfi_unmask:                            ## @pfi_unmask
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	cmpl	$-1, %edi
	jne	LBB0_5
## %bb.1:
	movl	4(%rax), %edi
	movl	$32, %ebx
	cmpl	$-1, %edi
	jne	LBB0_5
## %bb.2:
	movl	8(%rax), %edi
	movl	$64, %ebx
	cmpl	$-1, %edi
	jne	LBB0_5
## %bb.3:
	movl	12(%rax), %edi
	movl	$96, %ebx
	cmpl	$-1, %edi
	je	LBB0_4
LBB0_5:
	callq	_ntohl
	testl	%eax, %eax
	jns	LBB0_9
## %bb.6:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	30(%rcx), %edx
	movzbl	%dl, %edx
	decl	%ecx
	btl	%edx, %eax
	jb	LBB0_7
## %bb.8:
	subl	%ecx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movl	$128, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pfi_unmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfi_unmask
_pfi_unmask:                            ; @pfi_unmask
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w0, [x8]
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	w19, #0
	bl	_ntohl
	tbz	w0, #31, LBB0_11
	b	LBB0_8
LBB0_2:
	ldr	w0, [x8, #4]
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	mov	w19, #32
	bl	_ntohl
	tbz	w0, #31, LBB0_11
	b	LBB0_8
LBB0_4:
	ldr	w0, [x8, #8]
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.5:
	mov	w19, #64
	bl	_ntohl
	tbz	w0, #31, LBB0_11
	b	LBB0_8
LBB0_6:
	ldr	w0, [x8, #12]
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.7:
	mov	w19, #96
	bl	_ntohl
	tbz	w0, #31, LBB0_11
LBB0_8:
	mov	w8, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w8, #30
	sub	w8, w8, #1
	lsr	w9, w0, w9
	tbnz	w9, #0, LBB0_9
; %bb.10:
	sub	w19, w19, w8
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w19, #128
	b	LBB0_11
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pfi_unmask
.subsections_via_symbols
