	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_pcib_set_bar
_tegra_pcib_set_bar:                    ## @tegra_pcib_set_bar
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rdi, %r14
	andl	$-4096, %edx                    ## imm = 0xF000
	sarl	$12, %r15d
	sarl	$8, %ecx
	andl	$-16, %ecx
	xorl	%ebx, %ebx
	testl	%r9d, %r9d
	setne	%bl
	orl	%ecx, %ebx
	movq	_bars@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movslq	%esi, %rcx
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,2), %r13
	movl	8(%rax,%r13), %esi
	callq	_AFI_WR4
	movq	(%r12), %rax
	movl	4(%rax,%r13), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_AFI_WR4
	movq	(%r12), %rax
	movl	(%rax,%r13), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AFI_WR4                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bars,8,3                       ## @bars
	.no_dead_strip	_tegra_pcib_set_bar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_pcib_set_bar
_tegra_pcib_set_bar:                    ; @tegra_pcib_set_bar
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	and	w2, w2, #0xfffff000
	asr	w21, w4, #12
	asr	w8, w3, #8
	and	w8, w8, #0xfffffff0
	cmp	w5, #0
	cset	w9, ne
Lloh0:
	adrp	x23, _bars@GOTPAGE
Lloh1:
	ldr	x23, [x23, _bars@GOTPAGEOFF]
	orr	w22, w8, w9
	ldr	x8, [x23]
	mov	w24, #12
	smaddl	x8, w1, w24, x8
	smull	x25, w1, w24
	ldr	w1, [x8, #8]
	bl	_AFI_WR4
	ldr	x8, [x23]
	smaddl	x8, w19, w24, x8
	ldr	w1, [x8, #4]
	mov	x0, x20
	mov	x2, x21
	bl	_AFI_WR4
	ldr	x8, [x23]
	ldr	w1, [x8, x25]
	mov	x0, x20
	mov	x2, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AFI_WR4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_bars,8,3                       ; @bars
	.no_dead_strip	_tegra_pcib_set_bar
.subsections_via_symbols
