	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ds_get_keytag                  ## -- Begin function ds_get_keytag
	.p2align	4, 0x90
_ds_get_keytag:                         ## @ds_get_keytag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	leaq	-24(%rbp), %rdx
	leaq	-16(%rbp), %rcx
	callq	_rrset_get_rdata
	xorl	%eax, %eax
	cmpq	$4, -16(%rbp)
	jb	LBB0_2
## %bb.1:
	movq	-24(%rbp), %rsi
	addq	$8, %rsi
	leaq	-4(%rbp), %rdi
	movl	$2, %edx
	callq	_memmove
	movl	-4(%rbp), %edi
	callq	_ntohs
LBB0_2:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ds_get_keytag                  ; -- Begin function ds_get_keytag
	.p2align	2
_ds_get_keytag:                         ; @ds_get_keytag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	add	x2, sp, #16
	add	x3, sp, #8
	bl	_rrset_get_rdata
	ldr	x8, [sp, #8]
	cmp	x8, #4
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [sp, #16]
	add	x1, x8, #8
	sub	x0, x29, #4
	mov	w2, #2
	bl	_memmove
	ldur	w0, [x29, #-4]
	bl	_ntohs
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
