	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evhttp_accept_socket_with_handle ## -- Begin function evhttp_accept_socket_with_handle
	.p2align	4, 0x90
_evhttp_accept_socket_with_handle:      ## @evhttp_accept_socket_with_handle
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r9d
	movq	%rdi, %r14
	movq	_LEV_OPT_REUSEABLE@GOTPCREL(%rip), %rax
	movq	_LEV_OPT_CLOSE_ON_EXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_LEV_OPT_CLOSE_ON_FREE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	(%rdi), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_evconnlistener_new
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_evhttp_bind_listener
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_evconnlistener_free
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LEV_OPT_REUSEABLE,4,2          ## @LEV_OPT_REUSEABLE
	.comm	_LEV_OPT_CLOSE_ON_EXEC,4,2      ## @LEV_OPT_CLOSE_ON_EXEC
	.comm	_LEV_OPT_CLOSE_ON_FREE,4,2      ## @LEV_OPT_CLOSE_ON_FREE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evhttp_accept_socket_with_handle ; -- Begin function evhttp_accept_socket_with_handle
	.p2align	2
_evhttp_accept_socket_with_handle:      ; @evhttp_accept_socket_with_handle
	.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	x5, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _LEV_OPT_REUSEABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEV_OPT_REUSEABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LEV_OPT_CLOSE_ON_EXEC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LEV_OPT_CLOSE_ON_EXEC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _LEV_OPT_CLOSE_ON_FREE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LEV_OPT_CLOSE_ON_FREE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w3, w8, w9
	ldr	w0, [x0]
	mov	x1, #0
	mov	x2, #0
	mov	w4, #0
	bl	_evconnlistener_new
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_evhttp_bind_listener
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_evconnlistener_free
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LEV_OPT_REUSEABLE,4,2          ; @LEV_OPT_REUSEABLE
	.comm	_LEV_OPT_CLOSE_ON_EXEC,4,2      ; @LEV_OPT_CLOSE_ON_EXEC
	.comm	_LEV_OPT_CLOSE_ON_FREE,4,2      ; @LEV_OPT_CLOSE_ON_FREE
.subsections_via_symbols
