	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar934x_nfc_get_addr
_ar934x_nfc_get_addr:                   ## @ar934x_nfc_get_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$-1, %esi
	je	LBB0_1
## %bb.2:
	xorl	%r9d, %r9d
	cmpl	$-1, %edx
	je	LBB0_3
## %bb.4:
	cmpq	$0, 8(%rdi)
	je	LBB0_6
## %bb.5:
	movzbl	%sil, %eax
	shll	$8, %edx
	movzwl	%dx, %esi
	orl	%eax, %esi
	movl	%edx, %eax
	andl	$16711680, %eax                 ## imm = 0xFF0000
	orl	%esi, %eax
	andl	$-16777216, %edx                ## imm = 0xFF000000
	orl	%eax, %edx
	movl	%edx, %eax
	jmp	LBB0_8
LBB0_1:
	movl	%edx, %eax
	shll	$16, %eax
LBB0_7:
	shrl	$16, %edx
	andl	$15, %edx
	movl	%edx, %r9d
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	andl	$4095, %esi                     ## imm = 0xFFF
	movl	%edx, %eax
	shll	$16, %eax
	orl	%esi, %eax
	cmpl	$5, (%rdi)
	jge	LBB0_7
LBB0_8:
	movl	%eax, (%rcx)
	movl	%r9d, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ar934x_nfc_get_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar934x_nfc_get_addr
_ar934x_nfc_get_addr:                   ; @ar934x_nfc_get_addr
	.cfi_startproc
; %bb.0:
	cmn	w1, #1
	b.eq	LBB0_4
; %bb.1:
	cmn	w2, #1
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	w8, #0
	lsr	w9, w2, #16
	lsr	w10, w2, #8
	bfi	w1, w2, #8, #8
	bfi	w1, w10, #16, #8
	bfi	w1, w9, #24, #8
	b	LBB0_7
LBB0_4:
	lsl	w1, w2, #16
	ubfx	w8, w2, #16, #4
	b	LBB0_7
LBB0_5:
	mov	w1, #0
	mov	w8, #0
	b	LBB0_7
LBB0_6:
	and	w1, w1, #0xfff
	bfi	w1, w2, #16, #16
	ldr	w8, [x0]
	ubfx	w9, w2, #16, #4
	cmp	w8, #5
	csel	w8, wzr, w9, lt
LBB0_7:
	str	w1, [x3]
	str	w8, [x4]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ar934x_nfc_get_addr
.subsections_via_symbols
