	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_load_fingerprints        ## -- Begin function pfctl_load_fingerprints
	.p2align	4, 0x90
_pfctl_load_fingerprints:               ## @pfctl_load_fingerprints
	.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
	movl	%edi, %r15d
	movq	_classes@GOTPCREL(%rip), %rdi
	callq	_pfctl_flush_my_fingerprints
	leaq	-48(%rbp), %rbx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$0, -48(%rbp)
	movq	_DIOCOSFPGET@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	$1, %ebx
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_import_fingerprint
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%ebx, -48(%rbp)
	movl	(%r12), %esi
	movl	%r15d, %edi
	movq	%r13, %rdx
	callq	_ioctl
	incl	%ebx
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movl	$1, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_classes,4,2                    ## @classes
	.comm	_DIOCOSFPGET,4,2                ## @DIOCOSFPGET
	.comm	_errno,8,3                      ## @errno
	.comm	_EBUSY,8,3                      ## @EBUSY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DIOCOSFPGET"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_load_fingerprints        ; -- Begin function pfctl_load_fingerprints
	.p2align	2
_pfctl_load_fingerprints:               ; @pfctl_load_fingerprints
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, _classes@GOTPAGE
Lloh1:
	ldr	x0, [x0, _classes@GOTPAGEOFF]
	bl	_pfctl_flush_my_fingerprints
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	wzr, [sp, #8]
Lloh2:
	adrp	x20, _DIOCOSFPGET@GOTPAGE
Lloh3:
	ldr	x20, [x20, _DIOCOSFPGET@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ioctl
	cbnz	x0, LBB0_3
; %bb.1:
	mov	w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_import_fingerprint
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	w21, [sp, #8]
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ioctl
	add	w21, w21, #1
	cbz	x0, LBB0_2
LBB0_3:
Lloh4:
	adrp	x8, _errno@GOTPAGE
Lloh5:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _EBUSY@GOTPAGE
Lloh8:
	ldr	x9, [x9, _EBUSY@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	mov	w0, #1
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_classes,4,2                    ; @classes
	.comm	_DIOCOSFPGET,4,2                ; @DIOCOSFPGET
	.comm	_errno,8,3                      ; @errno
	.comm	_EBUSY,8,3                      ; @EBUSY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DIOCOSFPGET"

.subsections_via_symbols
