	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_ca_tbs_add_san_hostname  ## -- Begin function hx509_ca_tbs_add_san_hostname
	.p2align	4, 0x90
_hx509_ca_tbs_add_san_hostname:         ## @hx509_ca_tbs_add_san_hostname
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_choice_GeneralName_dNSName@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	%rbx, %rdi
	callq	_rk_UNCONST
	movl	%eax, -36(%rbp)
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, -40(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_add_GeneralNames
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_choice_GeneralName_dNSName,4,2 ## @choice_GeneralName_dNSName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_ca_tbs_add_san_hostname  ; -- Begin function hx509_ca_tbs_add_san_hostname
	.p2align	2
_hx509_ca_tbs_add_san_hostname:         ; @hx509_ca_tbs_add_san_hostname
	.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	x19, x2
	mov	x20, x1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh0:
	adrp	x8, _choice_GeneralName_dNSName@GOTPAGE
Lloh1:
	ldr	x8, [x8, _choice_GeneralName_dNSName@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x19
	bl	_rk_UNCONST
	str	w0, [sp, #4]
	mov	x0, x19
	bl	_strlen
	str	w0, [sp]
	mov	x1, sp
	mov	x0, x20
	bl	_add_GeneralNames
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_choice_GeneralName_dNSName,4,2 ; @choice_GeneralName_dNSName
.subsections_via_symbols
