	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_core_init                   ## -- Begin function st_core_init
	.p2align	4, 0x90
_st_core_init:                          ## @st_core_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_N_TI_WL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_st_ldisc_ops@GOTPCREL(%rip), %rsi
	callq	_tty_register_ldisc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rax, %rbx
	leaq	12(%rax), %rdi
	callq	_skb_queue_head_init
	leaq	8(%rbx), %rdi
	callq	_skb_queue_head_init
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_spin_lock_init
	movq	%rbx, %rdi
	callq	_st_ll_init
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	movq	%rbx, %rdi
	callq	_kfree
	movl	(%r15), %edi
	callq	_tty_unregister_ldisc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	movl	(%r15), %edi
	callq	_tty_unregister_ldisc
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_9:
	movq	_work_fn_write_wakeup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_WORK
	movq	%rbx, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_N_TI_WL,4,2                    ## @N_TI_WL
	.comm	_st_ldisc_ops,4,2               ## @st_ldisc_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error registering %d line discipline %ld"

L_.str.1:                               ## @.str.1
	.asciz	"registered n_shared line discipline"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"memory allocation failed"

L_.str.3:                               ## @.str.3
	.asciz	"unable to un-register ldisc %ld"

	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.4:                               ## @.str.4
	.asciz	"error during st_ll initialization(%ld)"

L_.str.5:                               ## @.str.5
	.asciz	"unable to un-register ldisc"

	.comm	_work_fn_write_wakeup,4,2       ## @work_fn_write_wakeup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_core_init                   ; -- Begin function st_core_init
	.p2align	2
_st_core_init:                          ; @st_core_init
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _N_TI_WL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _N_TI_WL@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, _st_ldisc_ops@GOTPAGE
Lloh3:
	ldr	x1, [x1, _st_ldisc_ops@GOTPAGEOFF]
	bl	_tty_register_ldisc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w8, [x22]
	stp	x8, x0, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
LBB0_2:
	mov	x0, x21
	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
LBB0_3:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
	add	x0, x0, #12
	bl	_skb_queue_head_init
	add	x0, x20, #8
	bl	_skb_queue_head_init
	add	x0, x20, #4
	bl	_spin_lock_init
	mov	x0, x20
	bl	_st_ll_init
	cbz	x0, LBB0_10
; %bb.5:
	str	x0, [sp]
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
	mov	x0, x20
	bl	_kfree
	ldr	w0, [x22]
	bl	_tty_unregister_ldisc
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.6:
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
	b	LBB0_2
LBB0_7:
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	ldr	w0, [x22]
	bl	_tty_unregister_ldisc
	cbz	x0, LBB0_9
; %bb.8:
	str	x0, [sp]
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
LBB0_9:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_2
LBB0_10:
Lloh22:
	adrp	x8, _work_fn_write_wakeup@GOTPAGE
Lloh23:
	ldr	x8, [x8, _work_fn_write_wakeup@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_INIT_WORK
	mov	w21, #0
	str	x20, [x19]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_N_TI_WL,4,2                    ; @N_TI_WL
	.comm	_st_ldisc_ops,4,2               ; @st_ldisc_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error registering %d line discipline %ld"

l_.str.1:                               ; @.str.1
	.asciz	"registered n_shared line discipline"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"memory allocation failed"

l_.str.3:                               ; @.str.3
	.asciz	"unable to un-register ldisc %ld"

	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.4:                               ; @.str.4
	.asciz	"error during st_ll initialization(%ld)"

l_.str.5:                               ; @.str.5
	.asciz	"unable to un-register ldisc"

	.comm	_work_fn_write_wakeup,4,2       ; @work_fn_write_wakeup
.subsections_via_symbols
