	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_sysfs_set_mb0_id
_at91_sysfs_set_mb0_id:                 ## @at91_sysfs_set_mb0_id
	.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	%rcx, %r14
	movq	%rdx, %r12
	callq	_to_net_dev
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_7
LBB0_2:
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_kstrtoul
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	-48(%rbp), %rax
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rcx
	jne	LBB0_4
## %bb.5:
	movq	_CAN_SFF_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_CAN_EFF_MASK@GOTPCREL(%rip), %rdx
	orq	(%rdx), %rcx
LBB0_6:
	andq	%rax, %rcx
	movq	%rcx, -48(%rbp)
	movq	%rcx, (%r15)
	movl	%r14d, %r13d
LBB0_7:
	xorl	%eax, %eax
	callq	_rtnl_unlock
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_CAN_EFF_FLAG,8,3               ## @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,8,3               ## @CAN_EFF_MASK
	.comm	_CAN_SFF_MASK,8,3               ## @CAN_SFF_MASK
	.no_dead_strip	_at91_sysfs_set_mb0_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_sysfs_set_mb0_id
_at91_sysfs_set_mb0_id:                 ; @at91_sysfs_set_mb0_id
	.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
	mov	x19, x3
	mov	x21, x2
	bl	_to_net_dev
	mov	x22, x0
	bl	_netdev_priv
	mov	x20, x0
	bl	_rtnl_lock
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_4
LBB0_2:
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtoul
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh8:
	adrp	x10, _CAN_SFF_MASK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _CAN_SFF_MASK@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	ldr	x10, [x10]
Lloh12:
	adrp	x11, _CAN_EFF_MASK@GOTPAGE
Lloh13:
	ldr	x11, [x11, _CAN_EFF_MASK@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	orr	x11, x11, x9
	tst	x9, x8
	csel	x9, x10, x11, eq
	and	x8, x9, x8
	str	x8, [sp, #8]
	str	x8, [x20]
	mov	x21, x19
LBB0_4:
	bl	_rtnl_unlock
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_CAN_EFF_FLAG,8,3               ; @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,8,3               ; @CAN_EFF_MASK
	.comm	_CAN_SFF_MASK,8,3               ; @CAN_SFF_MASK
	.no_dead_strip	_at91_sysfs_set_mb0_id
.subsections_via_symbols
