	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function revoke_dnskey
_revoke_dnskey:                         ## @revoke_dnskey
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_sldns_wirerr_get_type
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_sldns_wirerr_get_rdatalen
	cmpl	$2, %eax
	jge	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_sldns_wirerr_get_rdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_sldns_read_uint16
	movq	_LDNS_KEY_REVOKE_KEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %esi
	xorl	%eax, %esi
	movl	%ecx, %edx
	orl	%eax, %edx
	testl	%eax, %ecx
	cmovel	%edx, %esi
	testl	%r14d, %r14d
	cmovel	%edx, %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sldns_write_uint16             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ## @LDNS_RR_TYPE_DNSKEY
	.comm	_LDNS_KEY_REVOKE_KEY,4,2        ## @LDNS_KEY_REVOKE_KEY
	.no_dead_strip	_revoke_dnskey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function revoke_dnskey
_revoke_dnskey:                         ; @revoke_dnskey
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	ldp	w2, w1, [x20]
	bl	_sldns_wirerr_get_type
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	w1, w0, [x20, #4]
	ldr	w2, [x20]
	bl	_sldns_wirerr_get_rdatalen
	cmp	w0, #2
	b.ge	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldp	w1, w0, [x20, #4]
	ldr	w2, [x20]
	bl	_sldns_wirerr_get_rdata
	mov	x20, x0
	bl	_sldns_read_uint16
Lloh3:
	adrp	x8, _LDNS_KEY_REVOKE_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_KEY_REVOKE_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	ccmp	w19, #0, #4, ne
	eor	w9, w8, w0
	orr	w8, w8, w0
	csel	w1, w8, w9, eq
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sldns_write_uint16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ; @LDNS_RR_TYPE_DNSKEY
	.comm	_LDNS_KEY_REVOKE_KEY,4,2        ; @LDNS_KEY_REVOKE_KEY
	.no_dead_strip	_revoke_dnskey
.subsections_via_symbols
