	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_puda_get_tcpip_info      ## -- Begin function i40iw_puda_get_tcpip_info
	.p2align	4, 0x90
_i40iw_puda_get_tcpip_info:             ## @i40iw_puda_get_tcpip_info
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	56(%rsi), %r12
	movq	(%r12), %r15
	movl	$33024, %edi                    ## imm = 0x8100
	callq	_htons
	cmpq	%rax, %r15
	jne	LBB0_2
## %bb.1:
	movl	$1, (%r14)
	movl	(%r12), %edi
	callq	_ntohs
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	setne	%al
	leal	14(,%rax,4), %eax
	movl	%eax, 4(%rbx)
	movq	16(%r14), %r15
	xorl	%ecx, %ecx
	testq	%r15, %r15
	sete	%cl
	movl	$20, %edx
	movl	$40, %r13d
	cmovel	%edx, %r13d
	movl	%ecx, 8(%rbx)
	leaq	(%r12,%rax,4), %rcx
	movq	%rcx, 48(%rbx)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%r13,4), %r14
	movq	%r14, 32(%rbx)
	movl	(%r12,%rax,4), %edi
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	leal	40(%rax), %ecx
	testq	%r15, %r15
	cmovel	%eax, %ecx
	movl	4(%rbx), %eax
	leal	(%rax,%rcx), %edx
	movl	%edx, 12(%rbx)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rsi), %rsi
	movslq	%edx, %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_i40iw_pr_err
	movq	_I40IW_ERR_INVALID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_8
LBB0_4:
	movl	(%r14), %edx
	leal	(,%rdx,4), %esi
	movl	%esi, 16(%rbx)
	leal	(%r13,%rdx,4), %edx
	xorl	%r15d, %r15d
	subl	%edx, %ecx
	movl	%ecx, 20(%rbx)
	jne	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_6:
	movslq	%esi, %rcx
	shlq	$2, %rcx
	addq	32(%rbx), %rcx
LBB0_7:
	movq	%rcx, 40(%rbx)
	addl	%eax, %edx
	movl	%edx, 24(%rbx)
	movl	4(%r14), %edi
	callq	_ntohl
	movl	%eax, 28(%rbx)
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VLAN_VID_MASK,4,2              ## @VLAN_VID_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"payload_len = 0x%x totallen expected0x%x\n"

	.comm	_I40IW_ERR_INVALID_SIZE,4,2     ## @I40IW_ERR_INVALID_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_puda_get_tcpip_info      ; -- Begin function i40iw_puda_get_tcpip_info
	.p2align	2
_i40iw_puda_get_tcpip_info:             ; @i40iw_puda_get_tcpip_info
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #56]
	ldr	x22, [x21]
	mov	w0, #33024
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x20]
	ldr	w0, [x21]
	bl	_ntohs
Lloh0:
	adrp	x8, _VLAN_VID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VLAN_VID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x19]
LBB0_2:
	ldr	w8, [x20]
	mov	w9, #18
	mov	w10, #14
	cmp	w8, #0
	csel	w8, w10, w9, eq
	ldr	x9, [x20, #16]
	cmp	x9, #0
	cset	w9, eq
	mov	w10, #40
	mov	w11, #20
	csel	w22, w11, w10, eq
	stp	w8, w9, [x19, #4]
	add	x8, x21, w8, uxtw #2
	str	x8, [x19, #48]
	add	x21, x8, w22, uxtw #2
	str	x21, [x19, #32]
	ldr	w0, [x8]
	csel	w23, wzr, w10, eq
	bl	_ntohs
	ldr	w8, [x19, #4]
	add	w10, w0, w23
	add	w9, w8, w10
	str	w9, [x19, #12]
	ldr	x1, [x20, #8]
	sxtw	x2, w9
	cmp	x1, x2
	b.ge	LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_i40iw_pr_err
Lloh5:
	adrp	x8, _I40IW_ERR_INVALID_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40IW_ERR_INVALID_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_4:
	ldr	w9, [x21]
	lsl	w11, w9, #2
	add	w9, w11, w22
	subs	w10, w10, w9
	stp	w11, w10, [x19, #16]
	b.ne	LBB0_6
; %bb.5:
	mov	x10, #0
	b	LBB0_7
LBB0_6:
	ldr	x10, [x19, #32]
	add	x10, x10, w11, sxtw #2
LBB0_7:
	str	x10, [x19, #40]
	add	w8, w9, w8
	str	w8, [x19, #24]
	ldr	w0, [x21, #4]
	bl	_ntohl
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #28]
LBB0_8:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VLAN_VID_MASK,4,2              ; @VLAN_VID_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"payload_len = 0x%x totallen expected0x%x\n"

	.comm	_I40IW_ERR_INVALID_SIZE,4,2     ; @I40IW_ERR_INVALID_SIZE
.subsections_via_symbols
