	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evhttp_uri_set_host            ## -- Begin function evhttp_uri_set_host
	.p2align	4, 0x90
_evhttp_uri_set_host:                   ## @evhttp_uri_set_host
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movb	(%rbx), %r14b
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %rsi
	addq	%rbx, %rsi
	movq	%rbx, %rdi
	cmpb	$91, %r14b
	jne	LBB0_4
## %bb.2:
	callq	_bracket_addr_ok
	testl	%eax, %eax
	jne	LBB0_5
LBB0_3:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_4:
	callq	_regname_ok
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	callq	_URI_SET_STR_
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evhttp_uri_set_host            ; -- Begin function evhttp_uri_set_host
	.p2align	2
_evhttp_uri_set_host:                   ; @evhttp_uri_set_host
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cbz	x1, LBB0_5
; %bb.1:
	ldrb	w20, [x19]
	mov	x0, x19
	bl	_strlen
	add	x1, x19, w0, sxtw
	mov	x0, x19
	cmp	w20, #91
	b.ne	LBB0_4
; %bb.2:
	bl	_bracket_addr_ok
	cbnz	w0, LBB0_5
LBB0_3:
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	bl	_regname_ok
	cbz	w0, LBB0_3
LBB0_5:
	mov	x0, x19
	bl	_URI_SET_STR_
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
