	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hss_init_one
_hss_init_one:                          ## @hss_init_one
	.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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_npe_request
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	callq	_alloc_hdlcdev
	movq	%rax, 48(%r12)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_SET_NETDEV_DEV
	movq	%r15, %rdi
	callq	_dev_to_hdlc
	movq	_hss_hdlc_attach@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_hss_hdlc_xmit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_hss_hdlc_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movl	$100, (%r15)
	movq	_CLOCK_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	movq	$0, 32(%r12)
	movq	_CLK42X_SPEED_2048KHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r12)
	movl	4(%r14), %eax
	movl	%eax, 24(%r12)
	movq	%r14, 16(%r12)
	movl	(%r14), %eax
	movl	%eax, 12(%r12)
	movq	%r12, %rsi
	addq	$8, %rsi
	movq	_hss_hdlc_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NAPI_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_netif_napi_add
	movq	%r15, %rdi
	callq	_register_hdlc_device
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free_netdev
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movq	(%r12), %rdi
	callq	_npe_release
LBB0_10:
	movq	%r12, %rdi
	callq	_kfree
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_info
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_hss_hdlc_attach,4,2            ## @hss_hdlc_attach
	.comm	_hss_hdlc_xmit,4,2              ## @hss_hdlc_xmit
	.comm	_hss_hdlc_ops,4,2               ## @hss_hdlc_ops
	.comm	_CLOCK_EXT,4,2                  ## @CLOCK_EXT
	.comm	_CLK42X_SPEED_2048KHZ,4,2       ## @CLK42X_SPEED_2048KHZ
	.comm	_hss_hdlc_poll,4,2              ## @hss_hdlc_poll
	.comm	_NAPI_WEIGHT,4,2                ## @NAPI_WEIGHT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"initialized\n"

	.no_dead_strip	_hss_init_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hss_init_one
_hss_init_one:                          ; @hss_init_one
	.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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w0, #0
	bl	_npe_request
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_alloc_hdlcdev
	str	x0, [x19, #48]
	cbz	x0, LBB0_7
; %bb.3:
	mov	x21, x0
	mov	x1, x20
	bl	_SET_NETDEV_DEV
	mov	x0, x21
	bl	_dev_to_hdlc
Lloh3:
	adrp	x8, _hss_hdlc_attach@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hss_hdlc_attach@GOTPAGEOFF]
Lloh5:
	adrp	x9, _hss_hdlc_xmit@GOTPAGE
Lloh6:
	ldr	x9, [x9, _hss_hdlc_xmit@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
Lloh9:
	adrp	x8, _hss_hdlc_ops@GOTPAGE
Lloh10:
	ldr	x8, [x8, _hss_hdlc_ops@GOTPAGEOFF]
	str	x8, [x21, #8]
	mov	w8, #100
	str	w8, [x21]
Lloh11:
	adrp	x8, _CLOCK_EXT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CLOCK_EXT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	str	xzr, [x19, #32]
Lloh14:
	adrp	x8, _CLK42X_SPEED_2048KHZ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CLK42X_SPEED_2048KHZ@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldp	w10, w9, [x20]
	stp	w9, w8, [x19, #24]
	str	x20, [x19, #16]
	str	w10, [x19, #12]
	add	x1, x19, #8
Lloh17:
	adrp	x8, _hss_hdlc_poll@GOTPAGE
Lloh18:
	ldr	x8, [x8, _hss_hdlc_poll@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _NAPI_WEIGHT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NAPI_WEIGHT@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_netif_napi_add
	mov	x0, x21
	bl	_register_hdlc_device
	mov	x22, x0
	cbz	w0, LBB0_11
; %bb.4:
	mov	x0, x21
	bl	_free_netdev
	b	LBB0_8
LBB0_5:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_10
LBB0_6:
Lloh26:
	adrp	x8, _ENODEV@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_9
LBB0_7:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_8:
	ldr	x0, [x19]
	bl	_npe_release
LBB0_9:
	mov	x0, x19
	bl	_kfree
LBB0_10:
	mov	x0, x22
	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
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_netdev_info
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_hss_hdlc_attach,4,2            ; @hss_hdlc_attach
	.comm	_hss_hdlc_xmit,4,2              ; @hss_hdlc_xmit
	.comm	_hss_hdlc_ops,4,2               ; @hss_hdlc_ops
	.comm	_CLOCK_EXT,4,2                  ; @CLOCK_EXT
	.comm	_CLK42X_SPEED_2048KHZ,4,2       ; @CLK42X_SPEED_2048KHZ
	.comm	_hss_hdlc_poll,4,2              ; @hss_hdlc_poll
	.comm	_NAPI_WEIGHT,4,2                ; @NAPI_WEIGHT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"initialized\n"

	.no_dead_strip	_hss_init_one
.subsections_via_symbols
