	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_enqueue_event_internal     ## -- Begin function kcm_enqueue_event_internal
	.p2align	4, 0x90
_kcm_enqueue_event_internal:            ## @kcm_enqueue_event_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_KCM_EVENT_NONE@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r12
	movl	%edi, %r15d
	movq	_events_head@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	(%rax), %rcx
	leaq	16(%rcx), %rax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.3:
	movl	$56, %edi
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	$1, 8(%rax)
	movl	48(%r12), %ecx
	movl	%ecx, 48(%rax)
	movq	$0, 40(%rax)
	movl	32(%r12), %ecx
	movl	%ecx, 32(%rax)
	movl	28(%r12), %ecx
	movl	%ecx, 28(%rax)
	movq	(%r12), %rcx
	movq	%rcx, (%rax)
	movl	24(%r12), %esi
	movl	%r15d, %edi
	callq	_kcm_retain_ccache
	movl	24(%r12), %eax
	movq	(%rbx), %rcx
	movl	%eax, 24(%rcx)
	movq	$0, 16(%rcx)
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_log_event
	jmp	LBB0_6
LBB0_4:
	movq	_KRB5_CC_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KCM_EVENT_NONE,8,3             ## @KCM_EVENT_NONE
	.comm	_events_head,8,3                ## @events_head
	.comm	_KRB5_CC_NOMEM,4,2              ## @KRB5_CC_NOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enqueuing"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_enqueue_event_internal     ; -- Begin function kcm_enqueue_event_internal
	.p2align	2
_kcm_enqueue_event_internal:            ; @kcm_enqueue_event_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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _KCM_EVENT_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KCM_EVENT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x8, _events_head@GOTPAGE
Lloh4:
	ldr	x8, [x8, _events_head@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x8
	ldr	x9, [x8]
	add	x8, x9, #16
	cbnz	x9, LBB0_2
; %bb.3:
	mov	w0, #56
	bl	_malloc
	str	x0, [x21]
	cbz	x0, LBB0_6
; %bb.4:
	mov	w8, #1
	str	w8, [x0, #8]
	ldr	w8, [x19, #48]
	str	w8, [x0, #48]
	str	xzr, [x0, #40]
	ldur	d0, [x19, #28]
	stur	d0, [x0, #28]
	ldr	x8, [x19]
	str	x8, [x0]
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_kcm_retain_ccache
	ldr	w8, [x19, #24]
	ldr	x9, [x21]
	str	w8, [x9, #24]
	str	xzr, [x9, #16]
	ldr	x0, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_event
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _KRB5_CC_NOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KRB5_CC_NOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_7:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_KCM_EVENT_NONE,8,3             ; @KCM_EVENT_NONE
	.comm	_events_head,8,3                ; @events_head
	.comm	_KRB5_CC_NOMEM,4,2              ; @KRB5_CC_NOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enqueuing"

.subsections_via_symbols
