	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_shmlog
_disable_shmlog:                        ## @disable_shmlog
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ipcfd@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	movq	_I3_IPC_MESSAGE_TYPE_COMMAND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r14, %rcx
	callq	_ipc_send_message
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
LBB0_2:
	movl	$0, -28(%rbp)
	movq	$0, -40(%rbp)
	movl	(%r15), %edi
	movq	_I3_IPC_REPLY_TYPE_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	callq	_ipc_recv_message
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_err
LBB0_4:
	movq	-40(%rbp), %rdi
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"debuglog off; shmlog off"

	.comm	_ipcfd,4,2                      ## @ipcfd
	.comm	_I3_IPC_MESSAGE_TYPE_COMMAND,4,2 ## @I3_IPC_MESSAGE_TYPE_COMMAND
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"IPC send"

	.comm	_I3_IPC_REPLY_TYPE_COMMAND,4,2  ## @I3_IPC_REPLY_TYPE_COMMAND
L_.str.2:                               ## @.str.2
	.asciz	"IPC recv"

	.no_dead_strip	_disable_shmlog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_shmlog
_disable_shmlog:                        ; @disable_shmlog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x21, _ipcfd@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ipcfd@GOTPAGEOFF]
	ldr	w19, [x21]
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
Lloh4:
	adrp	x8, _I3_IPC_MESSAGE_TYPE_COMMAND@GOTPAGE
Lloh5:
	ldr	x8, [x8, _I3_IPC_MESSAGE_TYPE_COMMAND@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_ipc_send_message
Lloh7:
	adrp	x19, _EXIT_FAILURE@GOTPAGE
Lloh8:
	ldr	x19, [x19, _EXIT_FAILURE@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
LBB0_2:
	str	wzr, [sp, #12]
	str	xzr, [sp]
	ldr	w0, [x21]
Lloh11:
	adrp	x8, _I3_IPC_REPLY_TYPE_COMMAND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I3_IPC_REPLY_TYPE_COMMAND@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x3, sp
	bl	_ipc_recv_message
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_4:
	ldr	x0, [sp]
	bl	_free
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"debuglog off; shmlog off"

	.comm	_ipcfd,4,2                      ; @ipcfd
	.comm	_I3_IPC_MESSAGE_TYPE_COMMAND,4,2 ; @I3_IPC_MESSAGE_TYPE_COMMAND
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"IPC send"

	.comm	_I3_IPC_REPLY_TYPE_COMMAND,4,2  ; @I3_IPC_REPLY_TYPE_COMMAND
l_.str.2:                               ; @.str.2
	.asciz	"IPC recv"

	.no_dead_strip	_disable_shmlog
.subsections_via_symbols
