	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcauart_netdev_init
_qcauart_netdev_init:                   ## @qcauart_netdev_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	_QCAFRM_MAX_MTU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx)
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
	movq	_QCAFRM_HEADER_LEN@GOTPCREL(%rip), %rcx
	movq	_QCAFRM_MAX_LEN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	addq	(%rcx), %rsi
	movq	_QCAFRM_FOOTER_LEN@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rsi
	movq	%rax, %rbx
	movq	24(%rax), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_devm_kmalloc
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rdi
	movq	_VLAN_ETH_HLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdi), %rsi
	callq	_netdev_alloc_skb_ip_align
	movl	%eax, %ecx
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.3:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QCAFRM_MAX_MTU,4,2             ## @QCAFRM_MAX_MTU
	.comm	_ARPHRD_ETHER,4,2               ## @ARPHRD_ETHER
	.comm	_QCAFRM_HEADER_LEN,8,3          ## @QCAFRM_HEADER_LEN
	.comm	_QCAFRM_MAX_LEN,8,3             ## @QCAFRM_MAX_LEN
	.comm	_QCAFRM_FOOTER_LEN,8,3          ## @QCAFRM_FOOTER_LEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_VLAN_ETH_HLEN,8,3              ## @VLAN_ETH_HLEN
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_qcauart_netdev_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcauart_netdev_init
_qcauart_netdev_init:                   ; @qcauart_netdev_init
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _QCAFRM_MAX_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QCAFRM_MAX_MTU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
Lloh6:
	adrp	x8, _QCAFRM_HEADER_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QCAFRM_HEADER_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _QCAFRM_MAX_LEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QCAFRM_MAX_LEN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _QCAFRM_FOOTER_LEN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _QCAFRM_FOOTER_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x1, x8, x10
	ldr	x0, [x0, #24]
Lloh15:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_devm_kmalloc
	str	w0, [x19, #16]
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x0, [x19, #8]
	ldr	x8, [x0]
Lloh18:
	adrp	x9, _VLAN_ETH_HLEN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VLAN_ETH_HLEN@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_netdev_alloc_skb_ip_align
	str	w0, [x19]
	cbz	w0, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh23:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_QCAFRM_MAX_MTU,4,2             ; @QCAFRM_MAX_MTU
	.comm	_ARPHRD_ETHER,4,2               ; @ARPHRD_ETHER
	.comm	_QCAFRM_HEADER_LEN,8,3          ; @QCAFRM_HEADER_LEN
	.comm	_QCAFRM_MAX_LEN,8,3             ; @QCAFRM_MAX_LEN
	.comm	_QCAFRM_FOOTER_LEN,8,3          ; @QCAFRM_FOOTER_LEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_VLAN_ETH_HLEN,8,3              ; @VLAN_ETH_HLEN
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_qcauart_netdev_init
.subsections_via_symbols
