	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt753x_nl_response
_mt753x_nl_response:                    ## @mt753x_nl_response
	.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, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rsi), %edi
	callq	_nlmsg_data
	movq	%rax, %r15
	movq	_mt753x_nl_cmds@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	movl	$32, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	movq	(%r13), %r12
	cmpq	-32(%r12,%rbx), %rsi
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$40, %rbx
	cmpq	%rax, %r14
	jl	LBB0_2
LBB0_8:
	movq	(%r15), %rsi
	leaq	L_.str(%rip), %rdi
LBB0_16:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_info
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	-24(%r12,%rbx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_4
## %bb.5:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %r14
	movq	-16(%r12,%rbx), %r11
	leaq	-1(%r8), %rdx
	movl	%r8d, %r9d
	andl	$3, %r9d
	cmpq	$3, %rdx
	jae	LBB0_9
## %bb.6:
	xorl	%edx, %edx
	xorl	%edi, %edi
	jmp	LBB0_11
LBB0_4:
	xorl	%edi, %edi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_9:
	movl	%r8d, %r10d
	andl	$-4, %r10d
	xorl	%edx, %edx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r11,%rdx,8), %rax
	movq	8(%r11,%rdx,8), %rcx
	cmpq	$1, (%r14,%rax,8)
	sbbl	$-1, %edi
	cmpq	$1, (%r14,%rcx,8)
	sbbl	$-1, %edi
	movq	16(%r11,%rdx,8), %rax
	cmpq	$1, (%r14,%rax,8)
	sbbl	$-1, %edi
	movq	24(%r11,%rdx,8), %rax
	cmpq	$1, (%r14,%rax,8)
	sbbl	$-1, %edi
	addq	$4, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_10
LBB0_11:
	testq	%r9, %r9
	je	LBB0_14
## %bb.12:
	leaq	(%r11,%rdx,8), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdx,8), %rcx
	cmpq	$1, (%r14,%rcx,8)
	sbbl	$-1, %edi
	incq	%rdx
	cmpq	%rdx, %r9
	jne	LBB0_13
LBB0_14:
	cmpl	%r8d, %edi
	jne	LBB0_15
## %bb.18:
	cmpq	$0, (%r12,%rbx)
	je	LBB0_19
## %bb.22:
	movq	%r15, %rdi
	callq	_mt753x_nl_parse_find_gsw
	movq	%rax, %rsi
	testq	%rax, %rax
	jne	LBB0_20
## %bb.23:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_info
	jmp	LBB0_17
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_16
LBB0_19:
	xorl	%esi, %esi
LBB0_20:
	movq	%r15, %rdi
	callq	*-8(%r12,%rbx)
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_mt753x_put_gsw
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_mt753x_nl_cmds,8,3             ## @mt753x_nl_cmds
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mt753x-nl: unknown cmd %u\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"mt753x-nl: missing required attr(s) for cmd %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"mt753x-nl: failed to find switch dev\n"

	.no_dead_strip	_mt753x_nl_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt753x_nl_response
_mt753x_nl_response:                    ; @mt753x_nl_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	ldr	w0, [x1, #8]
	bl	_nlmsg_data
	mov	x20, x0
Lloh0:
	adrp	x22, _mt753x_nl_cmds@GOTPAGE
Lloh1:
	ldr	x22, [x22, _mt753x_nl_cmds@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x0, [x22]
	ldr	x9, [x0, x21]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	add	x21, x21, #40
	cmp	x23, w0, sxtw
	b.lt	LBB0_2
LBB0_4:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	bl	_pr_info
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	add	x11, x0, x21
	ldr	w9, [x11, #8]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.8:
	ldr	x10, [x19]
	ldr	x11, [x11, #16]
	cmp	w9, #4
	b.hs	LBB0_11
; %bb.9:
	mov	x12, #0
	mov	w13, #0
	b	LBB0_14
LBB0_10:
	mov	w13, #0
	b	LBB0_16
LBB0_11:
	mov	w15, #0
	mov	w16, #0
	mov	w14, #0
	mov	w13, #0
	and	x12, x9, #0xfffffffc
	add	x17, x11, #16
	mov	x1, x12
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	x2, x3, [x17, #-16]
	ldp	x4, x5, [x17], #32
	ldr	x2, [x10, x2, lsl #3]
	ldr	x3, [x10, x3, lsl #3]
	ldr	x4, [x10, x4, lsl #3]
	ldr	x5, [x10, x5, lsl #3]
	cmp	x2, #0
	cinc	w15, w15, ne
	cmp	x3, #0
	cinc	w16, w16, ne
	cmp	x4, #0
	cinc	w14, w14, ne
	cmp	x5, #0
	cinc	w13, w13, ne
	subs	x1, x1, #4
	b.ne	LBB0_12
; %bb.13:
	add	w15, w16, w15
	add	w14, w14, w15
	add	w13, w13, w14
	cmp	x12, x9
	b.eq	LBB0_16
LBB0_14:
	add	x11, x11, x12, lsl #3
	sub	x12, x9, x12
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x11], #8
	ldr	x14, [x10, x14, lsl #3]
	cmp	x14, #0
	cinc	w13, w13, ne
	subs	x12, x12, #1
	b.ne	LBB0_15
LBB0_16:
	cmp	w13, w9
	b.ne	LBB0_20
; %bb.17:
	add	x20, x0, x21
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_21
; %bb.18:
	mov	x0, x19
	bl	_mt753x_nl_parse_find_gsw
	mov	x1, x0
	cbnz	x0, LBB0_22
; %bb.19:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_20:
	str	x8, [sp]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_21:
	mov	x1, #0
LBB0_22:
	ldr	x8, [x20, #24]
	mov	x0, x19
	blr	x8
	mov	x19, x0
	bl	_mt753x_put_gsw
	mov	x0, x19
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_mt753x_nl_cmds,8,3             ; @mt753x_nl_cmds
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mt753x-nl: unknown cmd %u\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"mt753x-nl: missing required attr(s) for cmd %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"mt753x-nl: failed to find switch dev\n"

	.no_dead_strip	_mt753x_nl_response
.subsections_via_symbols
