	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gigaset_m10x_send_skb          ## -- Begin function gigaset_m10x_send_skb
	.p2align	4, 0x90
_gigaset_m10x_send_skb:                 ## @gigaset_m10x_send_skb
	.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, %rax
	movq	%rdi, %rbx
	movl	(%rsi), %r14d
	movq	(%rdi), %rcx
	movq	_ISDN_PROTO_L2_HDLC@GOTPCREL(%rip), %rdx
	movq	_HW_HDR_LEN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_HDLC_Encode
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	leaq	16(%rbx), %rdi
	movq	%rax, %rsi
	callq	_skb_queue_tail
	movq	8(%rbx), %rdi
	callq	_spin_lock_irqsave
	movq	8(%rbx), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_7
## %bb.6:
	addq	$4, %rdi
	callq	_tasklet_schedule
	movq	8(%rbx), %rdi
LBB0_7:
	callq	_spin_unlock_irqrestore
	jmp	LBB0_8
LBB0_2:
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_iraw_encode
	testq	%rax, %rax
	jne	LBB0_5
LBB0_4:
	movq	8(%rbx), %rax
	movl	16(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISDN_PROTO_L2_HDLC,8,3         ## @ISDN_PROTO_L2_HDLC
	.comm	_HW_HDR_LEN,4,2                 ## @HW_HDR_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to allocate memory for encoding!\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gigaset_m10x_send_skb          ; -- Begin function gigaset_m10x_send_skb
	.p2align	2
_gigaset_m10x_send_skb:                 ; @gigaset_m10x_send_skb
	.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	x8, x1
	mov	x20, x0
	ldr	w19, [x1]
Lloh0:
	adrp	x9, _ISDN_PROTO_L2_HDLC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISDN_PROTO_L2_HDLC@GOTPAGEOFF]
	ldr	x10, [x0]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x11, _HW_HDR_LEN@GOTPAGE
Lloh4:
	ldr	x11, [x11, _HW_HDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x11]
	mov	x0, x8
	cmp	x10, x9
	b.ne	LBB0_5
; %bb.1:
	mov	w2, #0
	bl	_HDLC_Encode
	mov	x1, x0
	cbz	x0, LBB0_6
LBB0_2:
	add	x0, x20, #16
	bl	_skb_queue_tail
	ldr	x0, [x20, #8]
	bl	_spin_lock_irqsave
	ldr	x0, [x20, #8]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.3:
	add	x0, x0, #4
	bl	_tasklet_schedule
	ldr	x0, [x20, #8]
LBB0_4:
	bl	_spin_unlock_irqrestore
	b	LBB0_7
LBB0_5:
	mov	w2, #0
	bl	_iraw_encode
	mov	x1, x0
	cbnz	x0, LBB0_2
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ISDN_PROTO_L2_HDLC,8,3         ; @ISDN_PROTO_L2_HDLC
	.comm	_HW_HDR_LEN,4,2                 ; @HW_HDR_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to allocate memory for encoding!\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
