	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_evbuffer_expand_overflow
_test_evbuffer_expand_overflow:         ## @test_evbuffer_expand_overflow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_evbuffer_new
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	$1, %edx
	callq	_evbuffer_add
	movq	_EVBUFFER_CHAIN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_evbuffer_expand
	movq	%rbx, %rdi
	callq	_evbuffer_validate
	movq	_EV_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_evbuffer_expand
	movq	%rbx, %rdi
	callq	_evbuffer_validate
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_evbuffer_free                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1"

	.comm	_EVBUFFER_CHAIN_MAX,4,2         ## @EVBUFFER_CHAIN_MAX
	.comm	_EV_SIZE_MAX,4,2                ## @EV_SIZE_MAX
	.no_dead_strip	_test_evbuffer_expand_overflow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_evbuffer_expand_overflow
_test_evbuffer_expand_overflow:         ; @test_evbuffer_expand_overflow
	.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
	bl	_evbuffer_new
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_evbuffer_add
Lloh2:
	adrp	x8, _EVBUFFER_CHAIN_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EVBUFFER_CHAIN_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_evbuffer_expand
	mov	x0, x19
	bl	_evbuffer_validate
Lloh5:
	adrp	x8, _EV_SIZE_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EV_SIZE_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_evbuffer_expand
	mov	x0, x19
	bl	_evbuffer_validate
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_evbuffer_free
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1"

	.comm	_EVBUFFER_CHAIN_MAX,4,2         ; @EVBUFFER_CHAIN_MAX
	.comm	_EV_SIZE_MAX,4,2                ; @EV_SIZE_MAX
	.no_dead_strip	_test_evbuffer_expand_overflow
.subsections_via_symbols
