	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_signer
_print_signer:                          ## @print_signer
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %edi
	movq	%rsi, %r14
	movq	$0, -32(%rbp)
	leaq	-20(%rbp), %rsi
	callq	_hx509_cert_get_subject
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movl	-20(%rbp), %edi
	leaq	-32(%rbp), %rsi
	callq	_hx509_name_to_string
	movl	%eax, %ebx
	leaq	-20(%rbp), %rdi
	callq	_hx509_name_free
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_4:
	movq	-32(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_hx509_pem_add_header
	movq	-32(%rbp), %rdi
	callq	_free
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hx509_cert_get_subject"

L_.str.1:                               ## @.str.1
	.asciz	"hx509_name_to_string"

L_.str.2:                               ## @.str.2
	.asciz	"Signer"

	.no_dead_strip	_print_signer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_signer
_print_signer:                          ; @print_signer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x0, x2
	mov	x19, x1
	str	xzr, [sp, #8]
	add	x1, sp, #4
	bl	_hx509_cert_get_subject
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldr	w0, [sp, #4]
	add	x1, sp, #8
	bl	_hx509_name_to_string
	mov	x20, x0
	add	x0, sp, #4
	bl	_hx509_name_free
	cbz	w20, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_4:
	ldr	x2, [sp, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_hx509_pem_add_header
	ldr	x0, [sp, #8]
	bl	_free
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	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	"hx509_cert_get_subject"

l_.str.1:                               ; @.str.1
	.asciz	"hx509_name_to_string"

l_.str.2:                               ; @.str.2
	.asciz	"Signer"

	.no_dead_strip	_print_signer
.subsections_via_symbols
