	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JapModemInit                   ## -- Begin function JapModemInit
	.p2align	4, 0x90
_JapModemInit:                          ## @JapModemInit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$4, %edi
	callq	_malloc
	movq	_JapModemArea@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_NetlinkInit                    ## TAILCALL
LBB0_1:
	movq	_CART_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_Cs2Area@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_YAB_ERR_CANNOTINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_YabSetError
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JapModemArea,8,3               ## @JapModemArea
	.comm	_CART_NONE,4,2                  ## @CART_NONE
	.comm	_Cs2Area,8,3                    ## @Cs2Area
	.comm	_YAB_ERR_CANNOTINIT,4,2         ## @YAB_ERR_CANNOTINIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Japanese Modem"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JapModemInit                   ; -- Begin function JapModemInit
	.p2align	2
_JapModemInit:                          ; @JapModemInit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	w0, #4
	bl	_malloc
Lloh0:
	adrp	x8, _JapModemArea@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JapModemArea@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_NetlinkInit
LBB0_2:
Lloh3:
	adrp	x8, _CART_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CART_NONE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _Cs2Area@GOTPAGE
Lloh6:
	ldr	x9, [x9, _Cs2Area@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	x9, [x9]
	str	w8, [x9]
Lloh9:
	adrp	x8, _YAB_ERR_CANNOTINIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _YAB_ERR_CANNOTINIT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_YabSetError
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_JapModemArea,8,3               ; @JapModemArea
	.comm	_CART_NONE,4,2                  ; @CART_NONE
	.comm	_Cs2Area,8,3                    ; @Cs2Area
	.comm	_YAB_ERR_CANNOTINIT,4,2         ; @YAB_ERR_CANNOTINIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Japanese Modem"

.subsections_via_symbols
