	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_failure_readcb
_http_failure_readcb:                   ## @http_failure_readcb
	.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, %r14
	movq	%rdi, %rbx
	callq	_bufferevent_get_input
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_evbuffer_contains
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_test_ok@GOTPCREL(%rip), %rax
	movl	$2, (%rax)
	movq	_EV_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bufferevent_disable
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_event_base_loopexit            ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"400 Bad Request"

	.comm	_test_ok,4,2                    ## @test_ok
	.comm	_EV_READ,4,2                    ## @EV_READ
	.no_dead_strip	_http_failure_readcb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_failure_readcb
_http_failure_readcb:                   ; @http_failure_readcb
	.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
	mov	x20, x0
	bl	_bufferevent_get_input
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_evbuffer_contains
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _test_ok@GOTPAGE
Lloh3:
	ldr	x8, [x8, _test_ok@GOTPAGEOFF]
	mov	w9, #2
Lloh4:
	str	w9, [x8]
Lloh5:
	adrp	x8, _EV_READ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bufferevent_disable
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_event_base_loopexit
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"400 Bad Request"

	.comm	_test_ok,4,2                    ; @test_ok
	.comm	_EV_READ,4,2                    ; @EV_READ
	.no_dead_strip	_http_failure_readcb
.subsections_via_symbols
