	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_bpmp_xlate_flags
_tegra_bpmp_xlate_flags:                ## @tegra_bpmp_xlate_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_I2C_M_TEN@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_SERIALI2C_TEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rsi)
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edi
LBB0_2:
	movq	_I2C_M_RD@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_SERIALI2C_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rsi)
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edi
LBB0_4:
	movq	_I2C_M_STOP@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_SERIALI2C_STOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rsi)
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edi
LBB0_6:
	movq	_I2C_M_NOSTART@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_SERIALI2C_NOSTART@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rsi)
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edi
LBB0_8:
	movq	_I2C_M_REV_DIR_ADDR@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_SERIALI2C_REV_DIR_ADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rsi)
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edi
LBB0_10:
	movq	_I2C_M_IGNORE_NAK@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_12
## %bb.11:
	movq	_SERIALI2C_IGNORE_NAK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rsi)
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edi
LBB0_12:
	movq	_I2C_M_NO_RD_ACK@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_14
## %bb.13:
	movq	_SERIALI2C_NO_RD_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rsi)
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edi
LBB0_14:
	movq	_I2C_M_RECV_LEN@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_16
## %bb.15:
	movq	_SERIALI2C_RECV_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rsi)
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edi
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	testl	%edi, %edi
	cmovel	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_TEN,4,2                  ## @I2C_M_TEN
	.comm	_SERIALI2C_TEN,4,2              ## @SERIALI2C_TEN
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_SERIALI2C_RD,4,2               ## @SERIALI2C_RD
	.comm	_I2C_M_STOP,4,2                 ## @I2C_M_STOP
	.comm	_SERIALI2C_STOP,4,2             ## @SERIALI2C_STOP
	.comm	_I2C_M_NOSTART,4,2              ## @I2C_M_NOSTART
	.comm	_SERIALI2C_NOSTART,4,2          ## @SERIALI2C_NOSTART
	.comm	_I2C_M_REV_DIR_ADDR,4,2         ## @I2C_M_REV_DIR_ADDR
	.comm	_SERIALI2C_REV_DIR_ADDR,4,2     ## @SERIALI2C_REV_DIR_ADDR
	.comm	_I2C_M_IGNORE_NAK,4,2           ## @I2C_M_IGNORE_NAK
	.comm	_SERIALI2C_IGNORE_NAK,4,2       ## @SERIALI2C_IGNORE_NAK
	.comm	_I2C_M_NO_RD_ACK,4,2            ## @I2C_M_NO_RD_ACK
	.comm	_SERIALI2C_NO_RD_ACK,4,2        ## @SERIALI2C_NO_RD_ACK
	.comm	_I2C_M_RECV_LEN,4,2             ## @I2C_M_RECV_LEN
	.comm	_SERIALI2C_RECV_LEN,4,2         ## @SERIALI2C_RECV_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tegra_bpmp_xlate_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_bpmp_xlate_flags
_tegra_bpmp_xlate_flags:                ; @tegra_bpmp_xlate_flags
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _I2C_M_TEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_M_TEN@GOTPAGEOFF]
	ldr	w9, [x8]
	tst	w9, w0
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, _SERIALI2C_TEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SERIALI2C_TEN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	ldr	w10, [x1]
	orr	w9, w10, w9
	str	w9, [x1]
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_2:
Lloh5:
	adrp	x8, _I2C_M_RD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I2C_M_RD@GOTPAGEOFF]
	ldr	w9, [x8]
	tst	w9, w0
	b.eq	LBB0_4
; %bb.3:
Lloh7:
	adrp	x9, _SERIALI2C_RD@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SERIALI2C_RD@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	ldr	w10, [x1]
	orr	w9, w10, w9
	str	w9, [x1]
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_4:
Lloh10:
	adrp	x8, _I2C_M_STOP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _I2C_M_STOP@GOTPAGEOFF]
	ldr	w9, [x8]
	tst	w9, w0
	b.eq	LBB0_6
; %bb.5:
Lloh12:
	adrp	x9, _SERIALI2C_STOP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SERIALI2C_STOP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ldr	w10, [x1]
	orr	w9, w10, w9
	str	w9, [x1]
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_6:
Lloh15:
	adrp	x8, _I2C_M_NOSTART@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I2C_M_NOSTART@GOTPAGEOFF]
	ldr	w9, [x8]
	tst	w9, w0
	b.eq	LBB0_8
; %bb.7:
Lloh17:
	adrp	x9, _SERIALI2C_NOSTART@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SERIALI2C_NOSTART@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	ldr	w10, [x1]
	orr	w9, w10, w9
	str	w9, [x1]
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_8:
Lloh20:
	adrp	x8, _I2C_M_REV_DIR_ADDR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I2C_M_REV_DIR_ADDR@GOTPAGEOFF]
	ldr	w9, [x8]
	tst	w9, w0
	b.eq	LBB0_10
; %bb.9:
Lloh22:
	adrp	x9, _SERIALI2C_REV_DIR_ADDR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SERIALI2C_REV_DIR_ADDR@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	ldr	w10, [x1]
	orr	w9, w10, w9
	str	w9, [x1]
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_10:
Lloh25:
	adrp	x8, _I2C_M_IGNORE_NAK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _I2C_M_IGNORE_NAK@GOTPAGEOFF]
	ldr	w9, [x8]
	tst	w9, w0
	b.eq	LBB0_12
; %bb.11:
Lloh27:
	adrp	x9, _SERIALI2C_IGNORE_NAK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SERIALI2C_IGNORE_NAK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	ldr	w10, [x1]
	orr	w9, w10, w9
	str	w9, [x1]
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_12:
Lloh30:
	adrp	x8, _I2C_M_NO_RD_ACK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _I2C_M_NO_RD_ACK@GOTPAGEOFF]
	ldr	w9, [x8]
	tst	w9, w0
	b.eq	LBB0_14
; %bb.13:
Lloh32:
	adrp	x9, _SERIALI2C_NO_RD_ACK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _SERIALI2C_NO_RD_ACK@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	ldr	w10, [x1]
	orr	w9, w10, w9
	str	w9, [x1]
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_14:
Lloh35:
	adrp	x8, _I2C_M_RECV_LEN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _I2C_M_RECV_LEN@GOTPAGEOFF]
	ldr	w9, [x8]
	tst	w9, w0
	b.eq	LBB0_16
; %bb.15:
Lloh37:
	adrp	x9, _SERIALI2C_RECV_LEN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _SERIALI2C_RECV_LEN@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	ldr	w10, [x1]
	orr	w9, w10, w9
	str	w9, [x1]
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_16:
Lloh40:
	adrp	x8, _EINVAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w0, wzr, w8, eq
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_TEN,4,2                  ; @I2C_M_TEN
	.comm	_SERIALI2C_TEN,4,2              ; @SERIALI2C_TEN
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_SERIALI2C_RD,4,2               ; @SERIALI2C_RD
	.comm	_I2C_M_STOP,4,2                 ; @I2C_M_STOP
	.comm	_SERIALI2C_STOP,4,2             ; @SERIALI2C_STOP
	.comm	_I2C_M_NOSTART,4,2              ; @I2C_M_NOSTART
	.comm	_SERIALI2C_NOSTART,4,2          ; @SERIALI2C_NOSTART
	.comm	_I2C_M_REV_DIR_ADDR,4,2         ; @I2C_M_REV_DIR_ADDR
	.comm	_SERIALI2C_REV_DIR_ADDR,4,2     ; @SERIALI2C_REV_DIR_ADDR
	.comm	_I2C_M_IGNORE_NAK,4,2           ; @I2C_M_IGNORE_NAK
	.comm	_SERIALI2C_IGNORE_NAK,4,2       ; @SERIALI2C_IGNORE_NAK
	.comm	_I2C_M_NO_RD_ACK,4,2            ; @I2C_M_NO_RD_ACK
	.comm	_SERIALI2C_NO_RD_ACK,4,2        ; @SERIALI2C_NO_RD_ACK
	.comm	_I2C_M_RECV_LEN,4,2             ; @I2C_M_RECV_LEN
	.comm	_SERIALI2C_RECV_LEN,4,2         ; @SERIALI2C_RECV_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tegra_bpmp_xlate_flags
.subsections_via_symbols
