	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_syslog
_open_syslog:                           ## @open_syslog
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movl	%edi, %r12d
	movl	$4, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	_syslogvals@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_find_value
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	movl	%eax, (%rbx)
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_find_value
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	movq	_LOG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	orl	%eax, (%rbx)
	movl	(%r13), %edi
	movq	_LOG_PID@GOTPCREL(%rip), %rcx
	movq	_LOG_NDELAY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movl	%eax, %edx
	callq	_roken_openlog
	movq	_log_syslog@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_close_syslog@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, (%rsp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_krb5_addlog_func
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_krb5_set_error_message
	movl	(%r14), %eax
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc: out of memory"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_syslogvals,4,2                 ## @syslogvals
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.comm	_LOG_AUTH,4,2                   ## @LOG_AUTH
	.comm	_LOG_PID,4,2                    ## @LOG_PID
	.comm	_LOG_NDELAY,4,2                 ## @LOG_NDELAY
	.comm	_log_syslog,4,2                 ## @log_syslog
	.comm	_close_syslog,4,2               ## @close_syslog
	.no_dead_strip	_open_syslog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_syslog
_open_syslog:                           ; @open_syslog
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x5
	mov	x25, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	w0, #4
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, x0
Lloh0:
	adrp	x26, _syslogvals@GOTPAGE
Lloh1:
	ldr	x26, [x26, _syslogvals@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x25
	bl	_find_value
Lloh2:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, #1
	csel	w8, w8, w0, eq
	str	w8, [x23]
	ldr	w1, [x26]
	mov	x0, x24
	bl	_find_value
Lloh5:
	adrp	x8, _LOG_AUTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOG_AUTH@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w0, #1
	csel	w2, w8, w0, eq
	ldr	w8, [x23]
	orr	w8, w8, w2
	str	w8, [x23]
Lloh8:
	adrp	x8, _LOG_PID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOG_PID@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _LOG_NDELAY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LOG_NDELAY@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_roken_openlog
Lloh14:
	adrp	x8, _log_syslog@GOTPAGE
Lloh15:
	ldr	x8, [x8, _log_syslog@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
Lloh17:
	adrp	x8, _close_syslog@GOTPAGE
Lloh18:
	ldr	x8, [x8, _close_syslog@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x6, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_krb5_addlog_func
LBB0_2:
Lloh20:
	adrp	x21, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x21, [x21, _ENOMEM@GOTPAGEOFF]
	ldr	w20, [x21]
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_krb5_set_error_message
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc: out of memory"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_syslogvals,4,2                 ; @syslogvals
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.comm	_LOG_AUTH,4,2                   ; @LOG_AUTH
	.comm	_LOG_PID,4,2                    ; @LOG_PID
	.comm	_LOG_NDELAY,4,2                 ; @LOG_NDELAY
	.comm	_log_syslog,4,2                 ; @log_syslog
	.comm	_close_syslog,4,2               ; @close_syslog
	.no_dead_strip	_open_syslog
.subsections_via_symbols
