	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_smmu_init_strtab
_arm_smmu_init_strtab:                  ## @arm_smmu_init_strtab
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ARM_SMMU_FEAT_2_LVL_STRTAB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_arm_smmu_init_strtab_2lvl
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_arm_smmu_init_strtab_linear
LBB0_3:
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_STRTAB_BASE_ADDR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%rbx), %eax
	movq	_STRTAB_BASE_RA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 12(%rbx)
	movl	4(%rbx), %esi
	xorl	%edi, %edi
	callq	_set_bit
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_SMMU_FEAT_2_LVL_STRTAB,4,2 ## @ARM_SMMU_FEAT_2_LVL_STRTAB
	.comm	_STRTAB_BASE_ADDR_MASK,4,2      ## @STRTAB_BASE_ADDR_MASK
	.comm	_STRTAB_BASE_RA,4,2             ## @STRTAB_BASE_RA
	.no_dead_strip	_arm_smmu_init_strtab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_smmu_init_strtab
_arm_smmu_init_strtab:                  ; @arm_smmu_init_strtab
	.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	w8, [x0]
Lloh0:
	adrp	x9, _ARM_SMMU_FEAT_2_LVL_STRTAB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARM_SMMU_FEAT_2_LVL_STRTAB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	bl	_arm_smmu_init_strtab_2lvl
	mov	x20, x0
	cbnz	w0, LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _STRTAB_BASE_ADDR_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRTAB_BASE_ADDR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w1, w9, [x19, #4]
	and	w8, w8, w9
Lloh6:
	adrp	x9, _STRTAB_BASE_RA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _STRTAB_BASE_RA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #12]
	mov	w0, #0
	bl	_set_bit
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_arm_smmu_init_strtab_linear
	mov	x20, x0
	cbnz	w0, LBB0_3
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_SMMU_FEAT_2_LVL_STRTAB,4,2 ; @ARM_SMMU_FEAT_2_LVL_STRTAB
	.comm	_STRTAB_BASE_ADDR_MASK,4,2      ; @STRTAB_BASE_ADDR_MASK
	.comm	_STRTAB_BASE_RA,4,2             ; @STRTAB_BASE_RA
	.no_dead_strip	_arm_smmu_init_strtab
.subsections_via_symbols
