	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfcmrvl_nci_uart_open
_nfcmrvl_nci_uart_open:                 ## @nfcmrvl_nci_uart_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	leaq	-32(%rbp), %rsi
	callq	_nfcmrvl_uart_parse_dt
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_hci_muxed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_reset_n_io@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_flow_control@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_break_control@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
LBB0_5:
	movq	_NFCMRVL_PHY_UART@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_uart_ops@GOTPCREL(%rip), %rdx
	leaq	-32(%rbp), %r8
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_nfcmrvl_nci_register_dev
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	jmp	LBB0_8
LBB0_7:
	movl	$1, (%rbx)
	movq	%rbx, 8(%r14)
	movl	4(%rbx), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No platform data / DT -> fallback to module params\n"

	.comm	_hci_muxed,4,2                  ## @hci_muxed
	.comm	_reset_n_io,4,2                 ## @reset_n_io
	.comm	_flow_control,4,2               ## @flow_control
	.comm	_break_control,4,2              ## @break_control
	.comm	_NFCMRVL_PHY_UART,4,2           ## @NFCMRVL_PHY_UART
	.comm	_uart_ops,4,2                   ## @uart_ops
	.no_dead_strip	_nfcmrvl_nci_uart_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfcmrvl_nci_uart_open
_nfcmrvl_nci_uart_open:                 ; @nfcmrvl_nci_uart_open
	.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
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
	cbz	x20, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, sp
	bl	_nfcmrvl_uart_parse_dt
	cbz	x0, LBB0_5
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh2:
	adrp	x8, _hci_muxed@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hci_muxed@GOTPAGEOFF]
Lloh4:
	adrp	x9, _reset_n_io@GOTPAGE
Lloh5:
	ldr	x9, [x9, _reset_n_io@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
Lloh8:
	adrp	x8, _flow_control@GOTPAGE
Lloh9:
	ldr	x8, [x8, _flow_control@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _break_control@GOTPAGE
Lloh12:
	ldr	x9, [x9, _break_control@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [sp]
LBB0_5:
Lloh14:
	adrp	x8, _NFCMRVL_PHY_UART@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NFCMRVL_PHY_UART@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x2, _uart_ops@GOTPAGE
Lloh18:
	ldr	x2, [x2, _uart_ops@GOTPAGEOFF]
	mov	x4, sp
	mov	x1, x19
	mov	x3, x20
	bl	_nfcmrvl_nci_register_dev
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_PTR_ERR
	b	LBB0_8
LBB0_7:
	mov	w8, #1
	str	w8, [x20]
	str	x20, [x19, #8]
	ldr	w8, [x20, #4]
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No platform data / DT -> fallback to module params\n"

	.comm	_hci_muxed,4,2                  ; @hci_muxed
	.comm	_reset_n_io,4,2                 ; @reset_n_io
	.comm	_flow_control,4,2               ; @flow_control
	.comm	_break_control,4,2              ; @break_control
	.comm	_NFCMRVL_PHY_UART,4,2           ; @NFCMRVL_PHY_UART
	.comm	_uart_ops,4,2                   ; @uart_ops
	.no_dead_strip	_nfcmrvl_nci_uart_open
.subsections_via_symbols
