	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_nfc_set_geometry
_common_nfc_set_geometry:               ## @common_nfc_set_geometry
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rsi
	testq	%rsi, %rsi
	jle	LBB0_2
## %bb.1:
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	jg	LBB0_9
LBB0_2:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_property_read_bool
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_legacy_set_geometry
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	jle	LBB0_7
## %bb.6:
	movq	16(%rbx), %rdx
	testq	%rdx, %rdx
	jle	LBB0_7
LBB0_9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_set_geometry_by_ecc_info       ## TAILCALL
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fsl,use-minimum-ecc"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_common_nfc_set_geometry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function common_nfc_set_geometry
_common_nfc_set_geometry:               ; @common_nfc_set_geometry
	.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
	mov	x19, x0
	ldr	x1, [x0, #24]
	cmp	x1, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x2, [x19, #32]
	cmp	x2, #1
	b.ge	LBB0_6
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_property_read_bool
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_legacy_set_geometry
	cbz	x0, LBB0_8
LBB0_4:
	ldr	x1, [x19, #8]
	cmp	x1, #1
	b.lt	LBB0_7
; %bb.5:
	ldr	x2, [x19, #16]
	cmp	x2, #0
	b.le	LBB0_7
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_geometry_by_ecc_info
LBB0_7:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fsl,use-minimum-ecc"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_common_nfc_set_geometry
.subsections_via_symbols
