	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_request_get_addr_on_close
_http_request_get_addr_on_close:        ## @http_request_get_addr_on_close
	.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	$152, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movabsq	$3328210909095473713, %rax      ## imm = 0x2E302E302E373231
	movq	%rax, -176(%rbp)
	movl	$3813678, -169(%rbp)            ## imm = 0x3A312E
	movq	_test_ok@GOTPCREL(%rip), %r15
	movl	$0, (%r15)
	callq	_tt_assert
	movq	%rbx, %rdi
	callq	_evhttp_connection_get_addr
	movq	%rax, %rbx
	movl	%ebx, %edi
	callq	_tt_assert
	leaq	-160(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$128, %edx
	callq	_evutil_format_sockaddr_port_
	leaq	-176(%rbp), %rsi
	movq	%r14, %rdi
	movl	$10, %edx
	callq	_strncmp
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_tt_assert
	movl	$1, (%r15)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$152, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.http_request_get_addr_on_close.local: ## @__const.http_request_get_addr_on_close.local
	.asciz	"127.0.0.1:"

	.comm	_test_ok,4,2                    ## @test_ok
	.no_dead_strip	_http_request_get_addr_on_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_request_get_addr_on_close
_http_request_get_addr_on_close:        ; @http_request_get_addr_on_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.http_request_get_addr_on_close.local@PAGE
Lloh4:
	add	x8, x8, l___const.http_request_get_addr_on_close.local@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	mov	w8, #12590
	movk	w8, #58, lsl #16
	stur	w8, [sp, #15]
Lloh6:
	adrp	x20, _test_ok@GOTPAGE
Lloh7:
	ldr	x20, [x20, _test_ok@GOTPAGEOFF]
	str	wzr, [x20]
	bl	_tt_assert
	mov	x0, x19
	bl	_evhttp_connection_get_addr
	mov	x19, x0
	bl	_tt_assert
	add	x1, sp, #24
	mov	x0, x19
	mov	w2, #128
	bl	_evutil_format_sockaddr_port_
	add	x0, sp, #24
	add	x1, sp, #8
	mov	w2, #10
	bl	_strncmp
	cmp	w0, #0
	cset	w0, eq
	bl	_tt_assert
	mov	w8, #1
	str	w8, [x20]
	ldur	x8, [x29, #-24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.http_request_get_addr_on_close.local: ; @__const.http_request_get_addr_on_close.local
	.asciz	"127.0.0.1:"

	.comm	_test_ok,4,2                    ; @test_ok
	.no_dead_strip	_http_request_get_addr_on_close
.subsections_via_symbols
