	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_usart_mode_probe
_at91_usart_mode_probe:                 ## @at91_usart_mode_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$129, -12(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_device_property_read_u32
	movl	-12(%rbp), %edx
	cmpl	$128, %edx
	je	LBB0_1
## %bb.2:
	cmpl	$129, %edx
	jne	LBB0_6
## %bb.3:
	movq	_at91_usart_serial_subdev@GOTPCREL(%rip), %rdx
	jmp	LBB0_4
LBB0_1:
	movq	_at91_usart_spi_subdev@GOTPCREL(%rip), %rdx
LBB0_4:
	movq	_PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_devm_mfd_add_devices
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"atmel,usart-mode"

	.comm	_at91_usart_spi_subdev,4,2      ## @at91_usart_spi_subdev
	.comm	_at91_usart_serial_subdev,4,2   ## @at91_usart_serial_subdev
L_.str.1:                               ## @.str.1
	.asciz	"atmel,usart-mode has an invalid value %u\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PLATFORM_DEVID_AUTO,4,2        ## @PLATFORM_DEVID_AUTO
	.no_dead_strip	_at91_usart_mode_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_usart_mode_probe
_at91_usart_mode_probe:                 ; @at91_usart_mode_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #129
	str	w8, [sp, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_device_property_read_u32
	ldr	w2, [sp, #12]
	cmp	w2, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_5
; %bb.2:
Lloh2:
	adrp	x2, _at91_usart_serial_subdev@GOTPAGE
Lloh3:
	ldr	x2, [x2, _at91_usart_serial_subdev@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x2, _at91_usart_spi_subdev@GOTPAGE
Lloh5:
	ldr	x2, [x2, _at91_usart_spi_subdev@GOTPAGEOFF]
LBB0_4:
Lloh6:
	adrp	x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_devm_mfd_add_devices
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"atmel,usart-mode"

	.comm	_at91_usart_spi_subdev,4,2      ; @at91_usart_spi_subdev
	.comm	_at91_usart_serial_subdev,4,2   ; @at91_usart_serial_subdev
l_.str.1:                               ; @.str.1
	.asciz	"atmel,usart-mode has an invalid value %u\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PLATFORM_DEVID_AUTO,4,2        ; @PLATFORM_DEVID_AUTO
	.no_dead_strip	_at91_usart_mode_probe
.subsections_via_symbols
