	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_cert_alg_scan   ## -- Begin function sldns_wire2str_cert_alg_scan
	.p2align	4, 0x90
_sldns_wire2str_cert_alg_scan:          ## @sldns_wire2str_cert_alg_scan
	.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	$-1, %eax
	cmpq	$2, (%rsi)
	jb	LBB0_6
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_sldns_read_uint16
	movq	%rax, %r13
	movq	_sldns_cert_algorithms@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_sldns_lookup_by_id
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r13d, %ecx
LBB0_5:
	callq	_sldns_str_print
	addq	$-2, (%rbx)
	addq	$8, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sldns_cert_algorithms,4,2      ## @sldns_cert_algorithms
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_cert_alg_scan   ; -- Begin function sldns_wire2str_cert_alg_scan
	.p2align	2
_sldns_wire2str_cert_alg_scan:          ; @sldns_wire2str_cert_alg_scan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x1]
	cmp	x8, #2
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_7
LBB0_2:
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0]
	bl	_sldns_read_uint16
	mov	x23, x0
Lloh0:
	adrp	x8, _sldns_cert_algorithms@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sldns_cert_algorithms@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_sldns_lookup_by_id
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w3, [x0]
	cbz	w3, LBB0_5
; %bb.4:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x23
LBB0_6:
	bl	_sldns_str_print
	ldr	x8, [x20]
	sub	x8, x8, #2
	str	x8, [x20]
	ldr	x8, [x19]
	add	x8, x8, #8
	str	x8, [x19]
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_sldns_cert_algorithms,4,2      ; @sldns_cert_algorithms
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"%d"

.subsections_via_symbols
