	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int_x509_param_set_hosts
_int_x509_param_set_hosts:              ## @int_x509_param_set_hosts
	.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	%rdx, %rbx
	movq	%rdi, %r12
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rcx, %r14
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.6:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	cmpq	$2, %r14
	movq	%r14, %rdx
	adcq	$-1, %rdx
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memchr
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_7
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	leaq	-1(%r14), %r13
	cmpb	$0, -1(%rbx,%r14)
	cmovneq	%r14, %r13
	jmp	LBB0_8
LBB0_3:
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_5:
	xorl	%r13d, %r13d
LBB0_8:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_9:
	movq	_SET_HOST@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_11
## %bb.10:
	movq	%r12, %r14
	movq	(%r12), %rdi
	movq	_str_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sk_OPENSSL_STRING_pop_free
	movq	$0, (%r12)
LBB0_11:
	movl	$1, %r15d
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.12:
	testq	%r13, %r13
	je	LBB0_21
## %bb.13:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_OPENSSL_strndup
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	%rax, %rbx
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	jne	LBB0_17
## %bb.15:
	xorl	%eax, %eax
	callq	_sk_OPENSSL_STRING_new_null
	movq	%rax, %rdi
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_16
LBB0_17:
	movq	%rbx, %rsi
	callq	_sk_OPENSSL_STRING_push
	testl	%eax, %eax
	jne	LBB0_21
## %bb.18:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	movq	(%r12), %rdi
	callq	_sk_OPENSSL_STRING_num
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:
	movq	(%r12), %rdi
	callq	_sk_OPENSSL_STRING_free
	movq	$0, (%r12)
	jmp	LBB0_20
LBB0_16:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
LBB0_20:
	xorl	%r15d, %r15d
LBB0_21:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SET_HOST,4,2                   ## @SET_HOST
	.comm	_str_free,4,2                   ## @str_free
	.no_dead_strip	_int_x509_param_set_hosts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int_x509_param_set_hosts
_int_x509_param_set_hosts:              ; @int_x509_param_set_hosts
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x2, LBB0_3
; %bb.1:
	mov	x22, x3
	cbz	x3, LBB0_3
; %bb.2:
	cmp	x22, #1
	cset	w8, hi
	sub	x2, x22, x8
	mov	x0, x20
	mov	w1, #0
	bl	_memchr
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_20
	b	LBB0_5
LBB0_3:
	cbz	x20, LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_strlen
	mov	x22, x0
	cbz	x0, LBB0_7
LBB0_5:
	sub	x8, x22, #1
	ldrb	w9, [x20, x8]
	cmp	w9, #0
	csel	x22, x8, x22, eq
	b	LBB0_7
LBB0_6:
	mov	x22, #0
LBB0_7:
Lloh0:
	adrp	x8, _SET_HOST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SET_HOST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_9
; %bb.8:
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _str_free@GOTPAGE
Lloh4:
	ldr	x8, [x8, _str_free@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_sk_OPENSSL_STRING_pop_free
	str	xzr, [x19]
LBB0_9:
	mov	w0, #1
	cbz	x20, LBB0_20
; %bb.10:
	cbz	x22, LBB0_20
; %bb.11:
	mov	x0, x20
	mov	x1, x22
	bl	_OPENSSL_strndup
	cbz	x0, LBB0_20
; %bb.12:
	mov	x20, x0
	ldr	x0, [x19]
	cbnz	x0, LBB0_14
; %bb.13:
	bl	_sk_OPENSSL_STRING_new_null
	str	x0, [x19]
	cbz	x0, LBB0_18
LBB0_14:
	mov	x1, x20
	bl	_sk_OPENSSL_STRING_push
	cbz	w0, LBB0_16
; %bb.15:
	mov	w0, #1
	b	LBB0_20
LBB0_16:
	mov	x0, x20
	bl	_OPENSSL_free
	ldr	x0, [x19]
	bl	_sk_OPENSSL_STRING_num
	cbz	x0, LBB0_19
; %bb.17:
	mov	w0, #0
	b	LBB0_20
LBB0_18:
	mov	x0, x20
	bl	_OPENSSL_free
	mov	w0, #0
	b	LBB0_20
LBB0_19:
	ldr	x0, [x19]
	bl	_sk_OPENSSL_STRING_free
	mov	w0, #0
	str	xzr, [x19]
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SET_HOST,4,2                   ; @SET_HOST
	.comm	_str_free,4,2                   ; @str_free
	.no_dead_strip	_int_x509_param_set_hosts
.subsections_via_symbols
