	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sign_certificate
_sign_certificate:                      ## @sign_certificate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	8(%rdi), %r11
	movq	_UINT16_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	(%r11), %rsi
	cmpq	%r10, %rsi
	jne	LBB0_1
LBB0_8:
	movq	_PTLS_ALERT_HANDSHAKE_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rbp), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r11), %rsi
	addq	$16, %r11
	cmpq	%r10, %rsi
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rsi, (%r9,%rbx,8)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_6:
	movq	%rsi, (%rdx)
	movl	(%rdi), %edi
	movl	8(%r11), %eax
	movq	%rcx, %rsi
	movl	%r8d, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%rbp
	jmp	_do_sign                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT16_MAX,8,3                 ## @UINT16_MAX
	.comm	_PTLS_ALERT_HANDSHAKE_FAILURE,4,2 ## @PTLS_ALERT_HANDSHAKE_FAILURE
	.no_dead_strip	_sign_certificate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sign_certificate
_sign_certificate:                      ; @sign_certificate
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _UINT16_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UINT16_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [x8]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x8, #16]!
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	cmp	x10, x9
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, x5
	mov	x12, x6
	cbz	x6, LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x11]
	cmp	x13, x10
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	add	x11, x11, #8
	subs	x12, x12, #1
	b.ne	LBB0_4
	b	LBB0_1
LBB0_6:
Lloh3:
	adrp	x8, _PTLS_ALERT_HANDSHAKE_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTLS_ALERT_HANDSHAKE_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_7:
	str	x10, [x2]
	ldr	w0, [x0]
	ldr	w8, [x8, #8]
	mov	x1, x3
	mov	x2, x4
	mov	x3, x8
	b	_do_sign
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT16_MAX,8,3                 ; @UINT16_MAX
	.comm	_PTLS_ALERT_HANDSHAKE_FAILURE,4,2 ; @PTLS_ALERT_HANDSHAKE_FAILURE
	.no_dead_strip	_sign_certificate
.subsections_via_symbols
