	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slg_write
_slg_write:                             ## @slg_write
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leal	1(%r15), %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movslq	%r15d, %rax
	movb	$0, (%r12,%rax)
	movq	$-1, %r14
	leaq	_slg_write.mapping+4(%rip), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %r13d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_strncmp
	incq	%r14
	addq	$20, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movslq	%r13d, %rax
	movl	%r14d, %ecx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	_slg_write.mapping(%rip), %rdx
	movl	16(%rdx,%rcx,4), %esi
	movq	%r12, %rdx
	addq	%rax, %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_xsyslog
	movq	%r12, %rdi
	callq	_OPENSSL_free
	jmp	LBB0_5
LBB0_1:
	movq	_BIO_F_SLG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIOerr
	xorl	%r15d, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @slg_write.mapping
_slg_write.mapping:
	.long	6                               ## 0x6
	.asciz	"PANIC \000\000\000"
	.space	2
	.long	132                             ## 0x84
	.long	6                               ## 0x6
	.asciz	"EMERG \000\000\000"
	.space	2
	.long	132                             ## 0x84
	.long	4                               ## 0x4
	.asciz	"EMR \000\000\000\000\000"
	.space	2
	.long	132                             ## 0x84
	.long	6                               ## 0x6
	.asciz	"ALERT \000\000\000"
	.space	2
	.long	135                             ## 0x87
	.long	4                               ## 0x4
	.asciz	"ALR \000\000\000\000\000"
	.space	2
	.long	135                             ## 0x87
	.long	5                               ## 0x5
	.asciz	"CRIT \000\000\000\000"
	.space	2
	.long	134                             ## 0x86
	.long	4                               ## 0x4
	.asciz	"CRI \000\000\000\000\000"
	.space	2
	.long	134                             ## 0x86
	.long	6                               ## 0x6
	.asciz	"ERROR \000\000\000"
	.space	2
	.long	131                             ## 0x83
	.long	4                               ## 0x4
	.asciz	"ERR \000\000\000\000\000"
	.space	2
	.long	131                             ## 0x83
	.long	8                               ## 0x8
	.asciz	"WARNING \000"
	.space	2
	.long	128                             ## 0x80
	.long	5                               ## 0x5
	.asciz	"WARN \000\000\000\000"
	.space	2
	.long	128                             ## 0x80
	.long	4                               ## 0x4
	.asciz	"WAR \000\000\000\000\000"
	.space	2
	.long	128                             ## 0x80
	.long	7                               ## 0x7
	.asciz	"NOTICE \000\000"
	.space	2
	.long	129                             ## 0x81
	.long	5                               ## 0x5
	.asciz	"NOTE \000\000\000\000"
	.space	2
	.long	129                             ## 0x81
	.long	4                               ## 0x4
	.asciz	"NOT \000\000\000\000\000"
	.space	2
	.long	129                             ## 0x81
	.long	5                               ## 0x5
	.asciz	"INFO \000\000\000\000"
	.space	2
	.long	130                             ## 0x82
	.long	4                               ## 0x4
	.asciz	"INF \000\000\000\000\000"
	.space	2
	.long	130                             ## 0x82
	.long	6                               ## 0x6
	.asciz	"DEBUG \000\000\000"
	.space	2
	.long	133                             ## 0x85
	.long	4                               ## 0x4
	.asciz	"DBG \000\000\000\000\000"
	.space	2
	.long	133                             ## 0x85
	.long	0                               ## 0x0
	.space	10
	.space	2
	.long	131                             ## 0x83

	.comm	_BIO_F_SLG_WRITE,4,2            ## @BIO_F_SLG_WRITE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_slg_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slg_write
_slg_write:                             ; @slg_write
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	add	w0, w2, #1
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	x1, x22
	mov	x2, x19
	bl	_memcpy
	strb	wzr, [x21, w19, sxtw]
	mov	x24, #-1
Lloh0:
	adrp	x22, _slg_write.mapping@PAGE+4
Lloh1:
	add	x22, x22, _slg_write.mapping@PAGEOFF+4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w23, [x22, #-4]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_strncmp
	add	x24, x24, #1
	add	x22, x22, #20
	cbnz	x0, LBB0_2
; %bb.3:
	sxtw	x8, w23
	and	x9, x24, #0xffffffff
	mov	w10, #20
Lloh2:
	adrp	x11, _slg_write.mapping@PAGE
Lloh3:
	add	x11, x11, _slg_write.mapping@PAGEOFF
	madd	x9, x9, x10, x11
	ldr	w1, [x9, #16]
	add	x2, x21, x8
	mov	x0, x20
	bl	_xsyslog
	mov	x0, x21
	bl	_OPENSSL_free
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _BIO_F_SLG_WRITE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BIO_F_SLG_WRITE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_BIOerr
	mov	w19, #0
LBB0_5:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @slg_write.mapping
_slg_write.mapping:
	.long	6                               ; 0x6
	.asciz	"PANIC \000\000\000"
	.space	2
	.long	132                             ; 0x84
	.long	6                               ; 0x6
	.asciz	"EMERG \000\000\000"
	.space	2
	.long	132                             ; 0x84
	.long	4                               ; 0x4
	.asciz	"EMR \000\000\000\000\000"
	.space	2
	.long	132                             ; 0x84
	.long	6                               ; 0x6
	.asciz	"ALERT \000\000\000"
	.space	2
	.long	135                             ; 0x87
	.long	4                               ; 0x4
	.asciz	"ALR \000\000\000\000\000"
	.space	2
	.long	135                             ; 0x87
	.long	5                               ; 0x5
	.asciz	"CRIT \000\000\000\000"
	.space	2
	.long	134                             ; 0x86
	.long	4                               ; 0x4
	.asciz	"CRI \000\000\000\000\000"
	.space	2
	.long	134                             ; 0x86
	.long	6                               ; 0x6
	.asciz	"ERROR \000\000\000"
	.space	2
	.long	131                             ; 0x83
	.long	4                               ; 0x4
	.asciz	"ERR \000\000\000\000\000"
	.space	2
	.long	131                             ; 0x83
	.long	8                               ; 0x8
	.asciz	"WARNING \000"
	.space	2
	.long	128                             ; 0x80
	.long	5                               ; 0x5
	.asciz	"WARN \000\000\000\000"
	.space	2
	.long	128                             ; 0x80
	.long	4                               ; 0x4
	.asciz	"WAR \000\000\000\000\000"
	.space	2
	.long	128                             ; 0x80
	.long	7                               ; 0x7
	.asciz	"NOTICE \000\000"
	.space	2
	.long	129                             ; 0x81
	.long	5                               ; 0x5
	.asciz	"NOTE \000\000\000\000"
	.space	2
	.long	129                             ; 0x81
	.long	4                               ; 0x4
	.asciz	"NOT \000\000\000\000\000"
	.space	2
	.long	129                             ; 0x81
	.long	5                               ; 0x5
	.asciz	"INFO \000\000\000\000"
	.space	2
	.long	130                             ; 0x82
	.long	4                               ; 0x4
	.asciz	"INF \000\000\000\000\000"
	.space	2
	.long	130                             ; 0x82
	.long	6                               ; 0x6
	.asciz	"DEBUG \000\000\000"
	.space	2
	.long	133                             ; 0x85
	.long	4                               ; 0x4
	.asciz	"DBG \000\000\000\000\000"
	.space	2
	.long	133                             ; 0x85
	.long	0                               ; 0x0
	.space	10
	.space	2
	.long	131                             ; 0x83

	.comm	_BIO_F_SLG_WRITE,4,2            ; @BIO_F_SLG_WRITE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_slg_write
.subsections_via_symbols
