	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_get_device_info         ## -- Begin function i2400m_get_device_info
	.p2align	4, 0x90
_i2400m_get_device_info:                ## @i2400m_get_device_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_i2400m_dev
	movq	%rax, %r15
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	movq	_I2400M_MT_GET_DEVICE_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_I2400M_L3L4_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$32, %edx
	callq	_i2400m_msg_to_dev
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_PTR_ERR
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_9:
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_10
LBB0_3:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	leaq	-96(%rbp), %rsi
	movq	%r14, %rdi
	callq	_wimax_msg_data_len
	movq	%rax, %r15
	leaq	-80(%rbp), %rsi
	movq	%rax, %rdi
	movl	$32, %edx
	callq	_i2400m_msg_check_status
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	(%r15), %esi
	movq	-96(%rbp), %rdx
	addq	$-32, %rdx
	movq	_I2400M_TLV_DETAILED_DEVICE_INFO@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%r12, %rdi
	movl	$4, %r8d
	callq	_i2400m_tlv_find
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	subl	(%r14), %eax
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_skb_pull
	jmp	LBB0_9
LBB0_4:
	movl	%eax, %r13d
	movq	_I2400M_MT_GET_DEVICE_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %r8
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
LBB0_6:
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r13d, %r13d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_7:
	movq	%r14, %rdi
	callq	_kfree_skb
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r13d, %edi
	callq	_ERR_PTR
	movq	%rax, %r14
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_I2400M_MT_GET_DEVICE_INFO,4,2  ## @I2400M_MT_GET_DEVICE_INFO
	.comm	_I2400M_L3L4_VERSION,4,2        ## @I2400M_L3L4_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to issue 'get device info' command: %ld\n"

L_.str.1:                               ## @.str.1
	.asciz	"'get device info' (0x%04x) command failed: %d - %s\n"

	.comm	_I2400M_TLV_DETAILED_DEVICE_INFO,4,2 ## @I2400M_TLV_DETAILED_DEVICE_INFO
L_.str.2:                               ## @.str.2
	.asciz	"GET DEVICE INFO: detailed device info TLV not found (0x%04x)\n"

	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_get_device_info         ; -- Begin function i2400m_get_device_info
	.p2align	2
_i2400m_get_device_info:                ; @i2400m_get_device_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	bl	_i2400m_dev
	mov	x21, x0
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
Lloh9:
	adrp	x25, _I2400M_MT_GET_DEVICE_INFO@GOTPAGE
Lloh10:
	ldr	x25, [x25, _I2400M_MT_GET_DEVICE_INFO@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_cpu_to_le16
	stp	xzr, x0, [x19, #16]
Lloh11:
	adrp	x8, _I2400M_L3L4_VERSION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I2400M_L3L4_VERSION@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #8]
	mov	x0, x22
	mov	x1, x19
	mov	w2, #32
	bl	_i2400m_msg_to_dev
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
LBB0_3:
	mov	x0, x19
	bl	_kfree
	b	LBB0_10
LBB0_4:
	add	x1, sp, #16
	mov	x0, x20
	bl	_wimax_msg_data_len
	mov	x24, x0
	add	x26, sp, #24
	add	x1, sp, #24
	mov	w2, #32
	bl	_i2400m_msg_check_status
	tbnz	w0, #31, LBB0_7
; %bb.5:
	ldr	w1, [x24]
	ldr	x8, [sp, #16]
	sub	x2, x8, #32
Lloh16:
	adrp	x23, _I2400M_TLV_DETAILED_DEVICE_INFO@GOTPAGE
Lloh17:
	ldr	x23, [x23, _I2400M_TLV_DETAILED_DEVICE_INFO@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x22
	mov	w4, #4
	bl	_i2400m_tlv_find
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w8, [x20]
	sub	w1, w0, w8
	mov	x0, x20
	bl	_skb_pull
	b	LBB0_3
LBB0_7:
	mov	x23, x0
	ldr	w2, [x25]
	stp	x23, x26, [sp]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_9
LBB0_8:
	ldr	w2, [x23]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh22:
	adrp	x8, _EIO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_9:
	mov	x0, x20
	bl	_kfree_skb
	mov	x0, x19
	bl	_kfree
	mov	x0, x23
	bl	_ERR_PTR
	mov	x20, x0
LBB0_10:
	ldr	x8, [sp, #56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_I2400M_MT_GET_DEVICE_INFO,4,2  ; @I2400M_MT_GET_DEVICE_INFO
	.comm	_I2400M_L3L4_VERSION,4,2        ; @I2400M_L3L4_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to issue 'get device info' command: %ld\n"

l_.str.1:                               ; @.str.1
	.asciz	"'get device info' (0x%04x) command failed: %d - %s\n"

	.comm	_I2400M_TLV_DETAILED_DEVICE_INFO,4,2 ; @I2400M_TLV_DETAILED_DEVICE_INFO
l_.str.2:                               ; @.str.2
	.asciz	"GET DEVICE INFO: detailed device info TLV not found (0x%04x)\n"

	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
