	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt753x_nl_reply_read
_mt753x_nl_reply_read:                  ## @mt753x_nl_reply_read
	.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
	subq	$24, %rsp
	.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, %r13
	movq	$0, -48(%rbp)
	movq	_MT753X_ATTR_TYPE_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_mt753x_nl_get_s32
	movq	%rax, %r12
	movq	_MT753X_ATTR_TYPE_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-1, %edx
	callq	_mt753x_nl_get_s32
	movq	%rax, %r14
	movq	_MT753X_ATTR_TYPE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-1, %edx
	callq	_mt753x_nl_get_s32
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_MT753X_CMD_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_mt753x_nl_prepare_reply
	testl	%eax, %eax
	js	LBB0_10
## %bb.3:
	testq	%r12, %r12
	js	LBB0_7
## %bb.4:
	testq	%r14, %r14
	js	LBB0_5
## %bb.6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	*8(%rdi)
	jmp	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_mt753x_reg_read
	jmp	LBB0_8
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	*(%rdi)
LBB0_8:
	movl	%eax, %r14d
	movq	_MT753X_ATTR_TYPE_REG@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rdi
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_nla_put_s32
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rdi
	movq	_MT753X_ATTR_TYPE_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_nla_put_s32
	testl	%eax, %eax
	js	LBB0_10
## %bb.14:
	movq	-48(%rbp), %rdi
	movq	%r13, %rsi
	callq	_mt753x_nl_send_reply
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_10:
	movl	%eax, %ebx
LBB0_11:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_nlmsg_free
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT753X_ATTR_TYPE_PHY,4,2       ## @MT753X_ATTR_TYPE_PHY
	.comm	_MT753X_ATTR_TYPE_DEVAD,4,2     ## @MT753X_ATTR_TYPE_DEVAD
	.comm	_MT753X_ATTR_TYPE_REG,4,2       ## @MT753X_ATTR_TYPE_REG
	.comm	_MT753X_CMD_READ,4,2            ## @MT753X_CMD_READ
	.comm	_MT753X_ATTR_TYPE_VAL,4,2       ## @MT753X_ATTR_TYPE_VAL
	.no_dead_strip	_mt753x_nl_reply_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt753x_nl_reply_read
_mt753x_nl_reply_read:                  ; @mt753x_nl_reply_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _MT753X_ATTR_TYPE_PHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT753X_ATTR_TYPE_PHY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_mt753x_nl_get_s32
	mov	x22, x0
Lloh3:
	adrp	x8, _MT753X_ATTR_TYPE_DEVAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT753X_ATTR_TYPE_DEVAD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_mt753x_nl_get_s32
	mov	x24, x0
Lloh6:
	adrp	x25, _MT753X_ATTR_TYPE_REG@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MT753X_ATTR_TYPE_REG@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #-1
	bl	_mt753x_nl_get_s32
	tbnz	x0, #63, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh8:
	adrp	x8, _MT753X_CMD_READ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MT753X_CMD_READ@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_mt753x_nl_prepare_reply
	tbnz	w0, #31, LBB0_11
; %bb.2:
	tbnz	x22, #63, LBB0_6
; %bb.3:
	tbnz	x24, #63, LBB0_7
; %bb.4:
	ldr	x8, [x21, #8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	mov	x3, x20
	blr	x8
	b	LBB0_8
LBB0_5:
	mov	w23, #0
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_12
	b	LBB0_13
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	bl	_mt753x_reg_read
	b	LBB0_8
LBB0_7:
	ldr	x8, [x21]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	blr	x8
LBB0_8:
	mov	x21, x0
	ldr	x0, [sp, #8]
	ldr	w1, [x25]
	mov	x2, x20
	bl	_nla_put_s32
	tbnz	w0, #31, LBB0_11
; %bb.9:
	ldr	x0, [sp, #8]
Lloh11:
	adrp	x8, _MT753X_ATTR_TYPE_VAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MT753X_ATTR_TYPE_VAL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_nla_put_s32
	tbnz	w0, #31, LBB0_11
; %bb.10:
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_mt753x_nl_send_reply
	mov	x23, x0
	b	LBB0_13
LBB0_11:
	mov	x23, x0
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_13
LBB0_12:
	bl	_nlmsg_free
LBB0_13:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MT753X_ATTR_TYPE_PHY,4,2       ; @MT753X_ATTR_TYPE_PHY
	.comm	_MT753X_ATTR_TYPE_DEVAD,4,2     ; @MT753X_ATTR_TYPE_DEVAD
	.comm	_MT753X_ATTR_TYPE_REG,4,2       ; @MT753X_ATTR_TYPE_REG
	.comm	_MT753X_CMD_READ,4,2            ; @MT753X_CMD_READ
	.comm	_MT753X_ATTR_TYPE_VAL,4,2       ; @MT753X_ATTR_TYPE_VAL
	.no_dead_strip	_mt753x_nl_reply_read
.subsections_via_symbols
