	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zlog_stream_init_internal
_zlog_stream_init_internal:             ## @zlog_stream_init_internal
	.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	%ecx, %r15d
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_zlog_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	%r14d, (%rbx)
	movq	_ZLOG_SYSLOG@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %r15d
	sete	%al
	movl	%eax, 4(%rbx)
	xorl	%ecx, %ecx
	testl	%r15d, %r15d
	setg	%cl
	movl	%ecx, 8(%rbx)
	movq	_zlog_buffering@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_external_logger@GOTPCREL(%rip), %rdx
	orq	(%rdx), %rcx
	movl	$1, %ecx
	movl	%eax, %edx
	cmovnel	%ecx, %edx
	movl	%edx, 12(%rbx)
	movq	%r12, 16(%rbx)
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%r15d, %r15d
	js	LBB0_3
## %bb.4:
	cmpl	%edx, %r15d
	jne	LBB0_6
## %bb.5:
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_3:
	movb	$1, %sil
	jmp	LBB0_10
LBB0_6:
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpl	(%rdx), %r15d
	je	LBB0_9
## %bb.7:
	movq	_launched@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	movl	%r15d, %edx
	jne	LBB0_10
## %bb.8:
	movq	_ZLOG_LEVEL_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%r14d, %edx
	movq	_ZLOG_NOTICE@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	setge	%sil
LBB0_9:
	movl	%r15d, %edx
LBB0_10:
	movzbl	%sil, %esi
	movl	%esi, 24(%rbx)
	movq	_ZLOG_LEVEL_MASK@GOTPCREL(%rip), %rdi
	andl	(%rdi), %r14d
	testb	%sil, %sil
	cmovnel	%ecx, %eax
	testl	%r15d, %r15d
	movq	_zlog_level@GOTPCREL(%rip), %rsi
	cmovgl	%ecx, %eax
	cmpl	(%rsi), %r14d
	cmovll	%r13d, %eax
	movl	%eax, 28(%rbx)
	movl	%edx, 32(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_zlog_fd,4,2                    ## @zlog_fd
	.comm	_ZLOG_SYSLOG,4,2                ## @ZLOG_SYSLOG
	.comm	_zlog_buffering,8,3             ## @zlog_buffering
	.comm	_external_logger,8,3            ## @external_logger
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_launched,4,2                   ## @launched
	.comm	_ZLOG_LEVEL_MASK,4,2            ## @ZLOG_LEVEL_MASK
	.comm	_ZLOG_NOTICE,4,2                ## @ZLOG_NOTICE
	.comm	_zlog_level,4,2                 ## @zlog_level
	.no_dead_strip	_zlog_stream_init_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zlog_stream_init_internal
_zlog_stream_init_internal:             ; @zlog_stream_init_internal
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _zlog_fd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _zlog_fd@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w3, #0
	csel	w22, w8, w3, eq
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh3:
	adrp	x8, _ZLOG_SYSLOG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZLOG_SYSLOG@GOTPAGEOFF]
	str	w20, [x19]
Lloh5:
	ldr	w8, [x8]
	cmp	w22, w8
	cset	w8, eq
	cmp	w22, #0
	cset	w9, gt
	stp	w8, w9, [x19, #4]
Lloh6:
	adrp	x9, _zlog_buffering@GOTPAGE
Lloh7:
	ldr	x9, [x9, _zlog_buffering@GOTPAGEOFF]
Lloh8:
	adrp	x10, _external_logger@GOTPAGE
Lloh9:
	ldr	x10, [x10, _external_logger@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	ldr	x10, [x10]
	orr	x9, x9, x10
	cmp	x9, #0
	csinc	w9, w8, wzr, eq
	str	w9, [x19, #12]
	str	x21, [x19, #16]
Lloh12:
	adrp	x9, _STDERR_FILENO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _STDERR_FILENO@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x9]
Lloh15:
	adrp	x9, _ZLOG_LEVEL_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ZLOG_LEVEL_MASK@GOTPAGEOFF]
	tbnz	w22, #31, LBB0_4
; %bb.1:
	cmp	w22, w10
	b.eq	LBB0_3
; %bb.2:
Lloh17:
	adrp	x10, _STDOUT_FILENO@GOTPAGE
Lloh18:
	ldr	x10, [x10, _STDOUT_FILENO@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
Lloh20:
	adrp	x11, _launched@GOTPAGE
Lloh21:
	ldr	x11, [x11, _launched@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	cmp	w22, w10
	ccmp	w11, #0, #0, ne
	b.eq	LBB0_5
LBB0_3:
	mov	w11, #0
	b	LBB0_6
LBB0_4:
	mov	w11, #1
	b	LBB0_7
LBB0_5:
	ldr	w10, [x9]
	and	w10, w10, w20
Lloh23:
	adrp	x11, _ZLOG_NOTICE@GOTPAGE
Lloh24:
	ldr	x11, [x11, _ZLOG_NOTICE@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	cmp	w10, w11
	cset	w11, ge
LBB0_6:
	mov	x10, x22
LBB0_7:
	cmp	w22, #0
	cset	w12, gt
	ldr	w9, [x9]
	and	w9, w9, w20
Lloh26:
	adrp	x13, _zlog_level@GOTPAGE
Lloh27:
	ldr	x13, [x13, _zlog_level@GOTPAGEOFF]
Lloh28:
	ldr	w13, [x13]
	orr	w12, w12, w11
	cmp	w12, #0
	csinc	w8, w8, wzr, eq
	cmp	w9, w13
	csel	w8, wzr, w8, lt
	stp	w11, w8, [x19, #24]
	str	w10, [x19, #32]
	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
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_zlog_fd,4,2                    ; @zlog_fd
	.comm	_ZLOG_SYSLOG,4,2                ; @ZLOG_SYSLOG
	.comm	_zlog_buffering,8,3             ; @zlog_buffering
	.comm	_external_logger,8,3            ; @external_logger
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_launched,4,2                   ; @launched
	.comm	_ZLOG_LEVEL_MASK,4,2            ; @ZLOG_LEVEL_MASK
	.comm	_ZLOG_NOTICE,4,2                ; @ZLOG_NOTICE
	.comm	_zlog_level,4,2                 ; @zlog_level
	.no_dead_strip	_zlog_stream_init_internal
.subsections_via_symbols
