	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function queue_commands_from_cert
_queue_commands_from_cert:              ## @queue_commands_from_cert
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	movq	(%r15), %r12
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	addq	$2, %r13
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r13d, %r13d
	movl	$100, %esi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_die
	movq	(%r15), %r12
LBB0_5:
	movl	8(%r15), %esi
	movq	%r12, %rdi
	callq	_parse_signature
	movslq	%eax, %r15
	addq	%r12, %r15
	cmpq	%r15, %r13
	jae	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %r12d
	subl	%r13d, %r12d
	movq	%r13, %rdi
	movl	$10, %esi
	movl	%r12d, %edx
	callq	_memchr
	movl	%eax, %edx
	subl	%r13d, %edx
	leaq	1(%rax), %rbx
	testq	%rax, %rax
	cmovel	%r12d, %edx
	cmoveq	%r15, %rbx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_queue_command
	movq	%rax, %r14
	movq	%rbx, %r13
	cmpq	%r15, %rbx
	jb	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"protocol error: got both push certificate and unsigned commands"

L_.str.1:                               ## @.str.1
	.asciz	"\n\n"

L_.str.2:                               ## @.str.2
	.asciz	"malformed push certificate %.*s"

	.no_dead_strip	_queue_commands_from_cert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function queue_commands_from_cert
_queue_commands_from_cert:              ; @queue_commands_from_cert
	.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	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
	ldr	x22, [x21]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_strstr
	cbz	x0, LBB0_4
; %bb.3:
	add	x20, x0, #2
	b	LBB0_5
LBB0_4:
	mov	w8, #100
	stp	x8, x22, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
	mov	x20, #0
	ldr	x22, [x21]
LBB0_5:
	ldr	w1, [x21, #8]
	mov	x0, x22
	bl	_parse_signature
	add	x22, x22, w0, sxtw
	cmp	x20, x22
	b.hs	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w22, w20
	mov	x0, x20
	mov	w1, #10
	mov	x2, x21
	bl	_memchr
	sub	w8, w0, w20
	cmp	x0, #0
	csel	w2, w21, w8, eq
	csinc	x21, x22, x0, eq
	mov	x0, x19
	mov	x1, x20
	bl	_queue_command
	mov	x19, x0
	mov	x20, x21
	cmp	x21, x22
	b.lo	LBB0_6
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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"protocol error: got both push certificate and unsigned commands"

l_.str.1:                               ; @.str.1
	.asciz	"\n\n"

l_.str.2:                               ; @.str.2
	.asciz	"malformed push certificate %.*s"

	.no_dead_strip	_queue_commands_from_cert
.subsections_via_symbols
