	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_general_name_unparse     ## -- Begin function hx509_general_name_unparse
	.p2align	4, 0x90
_hx509_general_name_unparse:            ## @hx509_general_name_unparse
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, (%rsi)
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	40(%rbx), %edx
	movq	32(%rbx), %rcx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_17
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_4:
	movl	80(%rbx), %edx
	movq	72(%rbx), %rcx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_17
LBB0_5:
	addq	$8, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_hx509_oid_sprint
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_21
## %bb.6:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	addq	$88, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_hx509_oid_sprint
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_21
## %bb.8:
	leaq	L_.str(%rip), %rsi
LBB0_9:
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_rk_strpoolprintf
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_19
LBB0_10:
	movq	16(%rbx), %r15
	leaq	L_.str.5(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_rk_strpoolprintf
	testq	%rax, %rax
	je	LBB0_21
## %bb.11:
	movslq	24(%rbx), %rdx
	cmpq	$16, %rdx
	je	LBB0_24
## %bb.12:
	cmpl	$4, %edx
	jne	LBB0_25
## %bb.13:
	movzbl	(%r15), %edx
	movzbl	1(%r15), %ecx
	movzbl	2(%r15), %r8d
	movzbl	3(%r15), %r9d
	leaq	L_.str.6(%rip), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_rk_strpoolprintf
	jmp	LBB0_18
LBB0_14:
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	52(%rbx), %eax
	movl	%eax, -44(%rbp)
	movl	48(%rbx), %eax
	movl	%eax, -48(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	__hx509_unparse_Name
	testl	%eax, %eax
	jne	LBB0_23
## %bb.15:
	movq	-56(%rbp), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_rk_strpoolprintf
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi
	callq	_free
	jmp	LBB0_19
LBB0_16:
	movl	64(%rbx), %edx
	movq	56(%rbx), %rcx
	leaq	L_.str.2(%rip), %rsi
LBB0_17:
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_rk_strpoolprintf
LBB0_18:
	movq	%rax, %rbx
LBB0_19:
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	callq	_rk_strpoolcollect
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_21:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
LBB0_23:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movzbl	(%r15), %edx
	movzbl	1(%r15), %ecx
	movzbl	2(%r15), %r8d
	movzbl	3(%r15), %r9d
	movzbl	4(%r15), %esi
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movzbl	5(%r15), %esi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movzbl	6(%r15), %esi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movzbl	7(%r15), %esi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movzbl	8(%r15), %esi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movzbl	9(%r15), %esi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movzbl	10(%r15), %esi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movzbl	11(%r15), %r12d
	movzbl	12(%r15), %r13d
	movzbl	13(%r15), %r11d
	movzbl	14(%r15), %r10d
	movzbl	15(%r15), %ebx
	leaq	L_.str.7(%rip), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	pushq	%r11
	pushq	%r13
	pushq	%r12
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	callq	_rk_strpoolprintf
	addq	$96, %rsp
	jmp	LBB0_18
LBB0_25:
	leaq	L_.str.8(%rip), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_rk_strpoolprintf
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"otherName: %s"

L_.str.1:                               ## @.str.1
	.asciz	"rfc822Name: %.*s\n"

L_.str.2:                               ## @.str.2
	.asciz	"dNSName: %.*s\n"

L_.str.3:                               ## @.str.3
	.asciz	"directoryName: %s"

L_.str.4:                               ## @.str.4
	.asciz	"URI: %.*s"

L_.str.5:                               ## @.str.5
	.asciz	"IPAddress: "

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

L_.str.7:                               ## @.str.7
	.asciz	"%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X"

L_.str.8:                               ## @.str.8
	.asciz	"unknown IP address of length %lu"

L_.str.9:                               ## @.str.9
	.asciz	"registeredID: %s"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_general_name_unparse     ; -- Begin function hx509_general_name_unparse
	.p2align	2
_hx509_general_name_unparse:            ; @hx509_general_name_unparse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	str	xzr, [x1]
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldp	x9, x8, [x20, #32]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x1, l_.str.4@PAGE
Lloh3:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_20
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_18
LBB0_4:
	ldp	x9, x8, [x20, #72]
	stp	x8, x9, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_5:
	add	x0, x20, #8
	sub	x1, x29, #40
	bl	_hx509_oid_sprint
	ldur	x8, [x29, #-40]
	cbz	x8, LBB0_17
; %bb.6:
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.9@PAGE
Lloh9:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_9
LBB0_7:
	add	x0, x20, #88
	sub	x1, x29, #40
	bl	_hx509_oid_sprint
	ldur	x8, [x29, #-40]
	cbz	x8, LBB0_17
; %bb.8:
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	mov	x0, #0
	bl	_rk_strpoolprintf
	mov	x20, x0
	ldur	x0, [x29, #-40]
	b	LBB0_16
LBB0_10:
	ldr	x21, [x20, #16]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, #0
	bl	_rk_strpoolprintf
	cbz	x0, LBB0_17
; %bb.11:
	ldr	w8, [x20, #24]
	cmp	w8, #16
	b.eq	LBB0_24
; %bb.12:
	cmp	w8, #4
	b.ne	LBB0_25
; %bb.13:
	ldrb	w8, [x21]
	ldrb	w9, [x21, #1]
	ldrb	w10, [x21, #2]
	ldrb	w11, [x21, #3]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_21
LBB0_14:
	sub	x0, x29, #40
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	d0, [x20, #48]
	stur	d0, [x29, #-40]
	sub	x0, x29, #40
	sub	x1, x29, #48
	bl	__hx509_unparse_Name
	cbnz	w0, LBB0_23
; %bb.15:
	ldur	x8, [x29, #-48]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, #0
	bl	_rk_strpoolprintf
	mov	x20, x0
	ldur	x0, [x29, #-48]
LBB0_16:
	bl	_free
	cbnz	x20, LBB0_22
LBB0_17:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	b	LBB0_23
LBB0_19:
	ldp	x9, x8, [x20, #56]
	stp	x8, x9, [sp]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_20:
	mov	x0, #0
LBB0_21:
	bl	_rk_strpoolprintf
	mov	x20, x0
	cbz	x20, LBB0_17
LBB0_22:
	mov	x0, x20
	bl	_rk_strpoolcollect
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_23:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_24:
	ldrb	w8, [x21]
	ldrb	w9, [x21, #1]
	ldrb	w10, [x21, #2]
	ldrb	w11, [x21, #3]
	ldrb	w12, [x21, #4]
	ldrb	w13, [x21, #5]
	ldrb	w14, [x21, #6]
	ldrb	w15, [x21, #7]
	ldrb	w16, [x21, #8]
	ldrb	w17, [x21, #9]
	ldrb	w1, [x21, #10]
	ldrb	w2, [x21, #11]
	ldrb	w3, [x21, #12]
	ldrb	w4, [x21, #13]
	ldrb	w5, [x21, #14]
	ldrb	w6, [x21, #15]
	stp	x5, x6, [sp, #112]
	stp	x3, x4, [sp, #96]
	stp	x1, x2, [sp, #80]
	stp	x16, x17, [sp, #64]
	stp	x14, x15, [sp, #48]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	stp	x8, x9, [sp]
	b	LBB0_21
LBB0_25:
	sxtw	x8, w8
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_21
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"otherName: %s"

l_.str.1:                               ; @.str.1
	.asciz	"rfc822Name: %.*s\n"

l_.str.2:                               ; @.str.2
	.asciz	"dNSName: %.*s\n"

l_.str.3:                               ; @.str.3
	.asciz	"directoryName: %s"

l_.str.4:                               ; @.str.4
	.asciz	"URI: %.*s"

l_.str.5:                               ; @.str.5
	.asciz	"IPAddress: "

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

l_.str.7:                               ; @.str.7
	.asciz	"%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X"

l_.str.8:                               ; @.str.8
	.asciz	"unknown IP address of length %lu"

l_.str.9:                               ; @.str.9
	.asciz	"registeredID: %s"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
