	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function network_mysqld_debug_plugin_apply_config
_network_mysqld_debug_plugin_apply_config: ## @network_mysqld_debug_plugin_apply_config
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpl	$0, (%rsi)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_g_strdup
	movl	%eax, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	callq	_network_mysqld_con_new
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_network_mysqld_add_connection
	movq	%rbx, 8(%r12)
	movq	%r12, 8(%rbx)
	xorl	%eax, %eax
	callq	_network_socket_new
	movq	%rax, %r15
	movq	%rax, (%r12)
	movq	%r12, %rdi
	callq	_network_mysqld_server_connection_init
	movl	8(%r15), %edi
	movl	(%rbx), %esi
	callq	_network_address_set_address
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_network_socket_bind
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	4(%r15), %esi
	movq	_EV_READ@GOTPCREL(%rip), %rax
	movq	_EV_PERSIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_network_mysqld_con_accept@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %r8
	callq	_event_set
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_event_base_set
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_event_add
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":4043"

	.comm	_EV_READ,4,2                    ## @EV_READ
	.comm	_EV_PERSIST,4,2                 ## @EV_PERSIST
	.comm	_network_mysqld_con_accept,4,2  ## @network_mysqld_con_accept
	.no_dead_strip	_network_mysqld_debug_plugin_apply_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function network_mysqld_debug_plugin_apply_config
_network_mysqld_debug_plugin_apply_config: ; @network_mysqld_debug_plugin_apply_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x1
	mov	x19, x0
	ldr	w8, [x1]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_g_strdup
	str	w0, [x22]
LBB0_2:
	bl	_network_mysqld_con_new
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_network_mysqld_add_connection
	str	x22, [x21, #8]
	str	x21, [x22, #8]
	bl	_network_socket_new
	mov	x20, x0
	str	x0, [x21]
	mov	x0, x21
	bl	_network_mysqld_server_connection_init
	ldr	w0, [x20, #8]
	ldr	w1, [x22]
	bl	_network_address_set_address
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_network_socket_bind
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w1, [x20, #4]
Lloh2:
	adrp	x8, _EV_READ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh4:
	adrp	x9, _EV_PERSIST@GOTPAGE
Lloh5:
	ldr	x9, [x9, _EV_PERSIST@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh8:
	adrp	x8, _network_mysqld_con_accept@GOTPAGE
Lloh9:
	ldr	x8, [x8, _network_mysqld_con_accept@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x4, x21
	bl	_event_set
	ldr	w0, [x19]
	mov	x1, x20
	bl	_event_base_set
	mov	x0, x20
	mov	x1, #0
	bl	_event_add
	mov	w0, #0
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":4043"

	.comm	_EV_READ,4,2                    ; @EV_READ
	.comm	_EV_PERSIST,4,2                 ; @EV_PERSIST
	.comm	_network_mysqld_con_accept,4,2  ; @network_mysqld_con_accept
	.no_dead_strip	_network_mysqld_debug_plugin_apply_config
.subsections_via_symbols
