	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_tx_send
_bcm_tx_send:                           ## @bcm_tx_send
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	je	LBB0_1
## %bb.3:
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_CFSIZ@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movl	(%r13), %esi
	movq	%rax, %rdi
	callq	_skb_put
	movl	(%rbx), %esi
	movl	(%r13), %edx
	movl	%eax, %edi
	callq	_memcpy_fromiovec
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	_init_net@GOTPCREL(%rip), %rdi
	movl	%r12d, %esi
	callq	_dev_get_by_index
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r12
	movq	%rax, 8(%r15)
	movq	%r14, (%r15)
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_can_send
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_dev_put
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.10:
	movq	_MHSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	(%r13), %ebx
	jmp	LBB0_11
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_kfree_skb
	jmp	LBB0_11
LBB0_8:
	movq	%r15, %rdi
	callq	_kfree_skb
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_CFSIZ,4,2                      ## @CFSIZ
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_init_net,4,2                   ## @init_net
	.comm	_MHSIZ,4,2                      ## @MHSIZ
	.no_dead_strip	_bcm_tx_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_tx_send
_bcm_tx_send:                           ; @bcm_tx_send
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	w1, LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _CFSIZ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CFSIZ@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	w1, [x23]
	bl	_skb_put
	ldr	w1, [x22]
	ldr	w2, [x23]
	bl	_memcpy_fromiovec
	tbnz	w0, #31, LBB0_7
; %bb.3:
Lloh5:
	adrp	x0, _init_net@GOTPAGE
Lloh6:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	mov	x1, x21
	bl	_dev_get_by_index
	cbz	x0, LBB0_8
; %bb.4:
	mov	x21, x0
	stp	x19, x0, [x20]
	mov	x0, x20
	mov	w1, #1
	bl	_can_send
	mov	x22, x0
	mov	x0, x21
	bl	_dev_put
	cbnz	w22, LBB0_11
; %bb.5:
	ldr	w8, [x23]
Lloh7:
	adrp	x9, _MHSIZ@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MHSIZ@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	add	w22, w9, w8
	b	LBB0_11
LBB0_6:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	mov	x22, x0
	mov	x0, x20
	bl	_kfree_skb
	b	LBB0_11
LBB0_8:
	mov	x0, x20
	bl	_kfree_skb
LBB0_9:
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_11:
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_CFSIZ,4,2                      ; @CFSIZ
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_init_net,4,2                   ; @init_net
	.comm	_MHSIZ,4,2                      ; @MHSIZ
	.no_dead_strip	_bcm_tx_send
.subsections_via_symbols
