	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn533_target_type_a_is_valid
_pn533_target_type_a_is_valid:          ## @pn533_target_type_a_is_valid
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	cmpl	$8, %esi
	jb	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_PN533_TYPE_A_SENS_RES_SSD
	movq	%rax, %r15
	movl	4(%r14), %edi
	callq	_PN533_TYPE_A_SENS_RES_PLATCONF
	movq	_PN533_TYPE_A_SENS_RES_SSD_JEWEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	setne	%cl
	movq	_PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	movl	%ecx, %edx
	orb	%al, %dl
	cmpb	$1, %dl
	jne	LBB0_4
## %bb.2:
	andb	%al, %cl
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	callq	_PN533_TYPE_A_SEL_CASCADE
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PN533_TYPE_A_SENS_RES_SSD_JEWEL,8,3 ## @PN533_TYPE_A_SENS_RES_SSD_JEWEL
	.comm	_PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL,8,3 ## @PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL
	.no_dead_strip	_pn533_target_type_a_is_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pn533_target_type_a_is_valid
_pn533_target_type_a_is_valid:          ; @pn533_target_type_a_is_valid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w1, #8
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_PN533_TYPE_A_SENS_RES_SSD
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_PN533_TYPE_A_SENS_RES_PLATCONF
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x9, _PN533_TYPE_A_SENS_RES_SSD_JEWEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PN533_TYPE_A_SENS_RES_SSD_JEWEL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x20, x9
Lloh3:
	adrp	x10, _PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL@GOTPAGEOFF]
	cset	w9, ne
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
	cset	w8, eq
	orr	w10, w9, w8
	cmp	w10, #1
	b.ne	LBB0_5
; %bb.3:
	and	w8, w9, w8
	tbnz	w8, #0, LBB0_5
; %bb.4:
	ldr	w0, [x19]
	bl	_PN533_TYPE_A_SEL_CASCADE
	cmp	x0, #0
	cset	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PN533_TYPE_A_SENS_RES_SSD_JEWEL,8,3 ; @PN533_TYPE_A_SENS_RES_SSD_JEWEL
	.comm	_PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL,8,3 ; @PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL
	.no_dead_strip	_pn533_target_type_a_is_valid
.subsections_via_symbols
