	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_entry_keysize              ## -- Begin function key_entry_keysize
	.p2align	4, 0x90
_key_entry_keysize:                     ## @key_entry_keysize
	.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, %rbx
	callq	_key_entry_isgood
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %r15
	cmpq	$0, (%r15)
	je	LBB0_11
## %bb.2:
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_kd_get_flags
	movq	_DNSKEY_BIT_ZSK@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dnskey_get_keysize
	movq	%rax, %r14
LBB0_4:
	cmpq	$2, (%r15)
	jb	LBB0_12
## %bb.5:
	movl	$1, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	cmpq	(%r15), %rbx
	jae	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_kd_get_flags
	testl	%eax, (%r12)
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dnskey_get_keysize
	cmpq	%r14, %rax
	jae	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dnskey_get_keysize
	movq	%rax, %r14
	jmp	LBB0_6
LBB0_11:
	xorl	%r14d, %r14d
LBB0_12:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DNSKEY_BIT_ZSK,4,2             ## @DNSKEY_BIT_ZSK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_entry_keysize              ; -- Begin function key_entry_keysize
	.p2align	2
_key_entry_keysize:                     ; @key_entry_keysize
	.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
	bl	_key_entry_isgood
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	x19, [x8]
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, #0
	bl	_kd_get_flags
Lloh0:
	adrp	x22, _DNSKEY_BIT_ZSK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DNSKEY_BIT_ZSK@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, #0
	bl	_dnskey_get_keysize
	mov	x20, x0
	b	LBB0_6
LBB0_4:
	mov	x20, #0
	b	LBB0_12
LBB0_5:
	mov	x20, #0
LBB0_6:
	ldr	x8, [x19]
	cmp	x8, #2
	b.lo	LBB0_12
; %bb.7:
	mov	w21, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19]
	cmp	x21, x8
	b.hs	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_kd_get_flags
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_dnskey_get_keysize
	cmp	x0, x20
	b.hs	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_dnskey_get_keysize
	mov	x20, x0
	b	LBB0_8
LBB0_12:
	mov	x0, x20
	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	_DNSKEY_BIT_ZSK,4,2             ; @DNSKEY_BIT_ZSK
.subsections_via_symbols
