	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llan_send_packet
_llan_send_packet:                      ## @llan_send_packet
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-48(%rbp), %rdi
	movl	$24, %esi
	callq	_bzero
	movq	_H_SEND_LOGICAL_LAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r14), %esi
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	movl	-40(%rbp), %r8d
	movl	-36(%rbp), %r9d
	movl	-32(%rbp), %eax
	movl	-28(%rbp), %ebx
	subq	$8, %rsp
	pushq	$0
	pushq	%rbx
	pushq	%rax
	callq	_phyp_hcall
	addq	$32, %rsp
	movq	_H_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_IFCOUNTER_OPACKETS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IFCOUNTER_OERRORS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%r14), %edi
	movl	(%rax), %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.5:
	movl	$1, %edx
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_if_inc_counter                 ## TAILCALL
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LLAN_BUFDESC_VALID,4,2         ## @LLAN_BUFDESC_VALID
	.comm	_H_SEND_LOGICAL_LAN,4,2         ## @H_SEND_LOGICAL_LAN
	.comm	_H_SUCCESS,4,2                  ## @H_SUCCESS
	.comm	_IFCOUNTER_OPACKETS,4,2         ## @IFCOUNTER_OPACKETS
	.comm	_IFCOUNTER_OERRORS,4,2          ## @IFCOUNTER_OERRORS
	.no_dead_strip	_llan_send_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llan_send_packet
_llan_send_packet:                      ; @llan_send_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	add	x0, sp, #16
	mov	w1, #24
	bl	_bzero
Lloh3:
	adrp	x8, _H_SEND_LOGICAL_LAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H_SEND_LOGICAL_LAN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	ldp	w2, w3, [sp, #16]
	ldp	w4, w5, [sp, #24]
	ldp	w6, w7, [sp, #32]
	str	wzr, [sp]
	bl	_phyp_hcall
	mov	x8, x0
Lloh6:
	adrp	x9, _H_SUCCESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _H_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w0, [x19]
Lloh9:
	adrp	x10, _IFCOUNTER_OPACKETS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IFCOUNTER_OPACKETS@GOTPAGEOFF]
Lloh11:
	adrp	x11, _IFCOUNTER_OERRORS@GOTPAGE
Lloh12:
	ldr	x11, [x11, _IFCOUNTER_OERRORS@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	ldur	x8, [x29, #-24]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w2, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_if_inc_counter
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LLAN_BUFDESC_VALID,4,2         ; @LLAN_BUFDESC_VALID
	.comm	_H_SEND_LOGICAL_LAN,4,2         ; @H_SEND_LOGICAL_LAN
	.comm	_H_SUCCESS,4,2                  ; @H_SUCCESS
	.comm	_IFCOUNTER_OPACKETS,4,2         ; @IFCOUNTER_OPACKETS
	.comm	_IFCOUNTER_OERRORS,4,2          ; @IFCOUNTER_OERRORS
	.no_dead_strip	_llan_send_packet
.subsections_via_symbols
