	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_skb_pointer
_get_skb_pointer:                       ## @get_skb_pointer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	%edi, %r14d
	leal	-4(%r14), %eax
	movq	_KSEG1@GOTPCREL(%rip), %r15
	orl	(%r15), %eax
	movq	(%rax), %rbx
	movq	_KSEG0@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%ebx, (%rax)
	setbe	%dil
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_ASSERT
	movl	(%rbx), %ecx
	movq	_DATA_BUFFER_ALIGNMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	xorl	$268435455, %eax                ## imm = 0xFFFFFFF
	andl	%ecx, %eax
	movl	(%r15), %edx
	orl	%edx, %eax
	orl	%r14d, %edx
	xorl	%edi, %edi
	cmpl	%edx, %eax
	sete	%dil
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_ASSERT
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_dbg
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dataptr is 0, it's supposed to be invalid pointer"

	.comm	_KSEG1,4,2                      ## @KSEG1
	.comm	_KSEG0,4,2                      ## @KSEG0
L_.str.1:                               ## @.str.1
	.asciz	"invalid skb - skb = %#08x, dataptr = %#08x"

	.comm	_DATA_BUFFER_ALIGNMENT,4,2      ## @DATA_BUFFER_ALIGNMENT
L_.str.2:                               ## @.str.2
	.asciz	"invalid skb - skb = %#08x, skb->data = %#08x, dataptr = %#08x"

	.no_dead_strip	_get_skb_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_skb_pointer
_get_skb_pointer:                       ; @get_skb_pointer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	sub	w8, w0, #4
Lloh0:
	adrp	x21, _KSEG1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _KSEG1@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
	ldr	x19, [x8]
Lloh2:
	adrp	x8, _KSEG0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KSEG0@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	cset	w0, ls
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_ASSERT
	ldr	w3, [x19]
Lloh7:
	adrp	x8, _DATA_BUFFER_ALIGNMENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DATA_BUFFER_ALIGNMENT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	sub	w8, w8, #1
	eor	w8, w8, #0xfffffff
	and	w8, w8, w3
	ldr	w9, [x21]
	orr	w8, w8, w9
	orr	w9, w9, w20
	cmp	w8, w9
	cset	w0, eq
	str	x20, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_ASSERT
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dataptr is 0, it's supposed to be invalid pointer"

	.comm	_KSEG1,4,2                      ; @KSEG1
	.comm	_KSEG0,4,2                      ; @KSEG0
l_.str.1:                               ; @.str.1
	.asciz	"invalid skb - skb = %#08x, dataptr = %#08x"

	.comm	_DATA_BUFFER_ALIGNMENT,4,2      ; @DATA_BUFFER_ALIGNMENT
l_.str.2:                               ; @.str.2
	.asciz	"invalid skb - skb = %#08x, skb->data = %#08x, dataptr = %#08x"

	.no_dead_strip	_get_skb_pointer
.subsections_via_symbols
