	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixp4xx_get_ts_info
_ixp4xx_get_ts_info:                    ## @ixp4xx_get_ts_info
	.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	%rsi, %rbx
	xorl	%eax, %eax
	callq	_cpu_is_ixp46x
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_SOF_TIMESTAMPING_TX_HARDWARE@GOTPCREL(%rip), %rax
	movq	_SOF_TIMESTAMPING_RX_HARDWARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SOF_TIMESTAMPING_RAW_HARDWARE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_ixp46x_phc_index@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rdx
	movq	_HWTSTAMP_TX_ON@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movb	(%rdx), %cl
	movl	$1, %edx
	btsl	%ecx, %esi
	movl	%esi, 8(%rbx)
	movq	_HWTSTAMP_FILTER_NONE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %sil
	movq	_HWTSTAMP_FILTER_PTP_V1_L4_SYNC@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	btsl	%esi, %edx
	movq	_HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %edx
	movl	%edx, 12(%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_SOF_TIMESTAMPING_TX_SOFTWARE@GOTPCREL(%rip), %rax
	movq	_SOF_TIMESTAMPING_RX_SOFTWARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SOF_TIMESTAMPING_SOFTWARE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	$-1, %eax
LBB0_3:
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOF_TIMESTAMPING_TX_SOFTWARE,4,2 ## @SOF_TIMESTAMPING_TX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_RX_SOFTWARE,4,2 ## @SOF_TIMESTAMPING_RX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_SOFTWARE,4,2  ## @SOF_TIMESTAMPING_SOFTWARE
	.comm	_SOF_TIMESTAMPING_TX_HARDWARE,4,2 ## @SOF_TIMESTAMPING_TX_HARDWARE
	.comm	_SOF_TIMESTAMPING_RX_HARDWARE,4,2 ## @SOF_TIMESTAMPING_RX_HARDWARE
	.comm	_SOF_TIMESTAMPING_RAW_HARDWARE,4,2 ## @SOF_TIMESTAMPING_RAW_HARDWARE
	.comm	_ixp46x_phc_index,4,2           ## @ixp46x_phc_index
	.comm	_HWTSTAMP_TX_OFF,4,2            ## @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_TX_ON,4,2             ## @HWTSTAMP_TX_ON
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ## @HWTSTAMP_FILTER_NONE
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_SYNC,4,2 ## @HWTSTAMP_FILTER_PTP_V1_L4_SYNC
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ,4,2 ## @HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ
	.no_dead_strip	_ixp4xx_get_ts_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixp4xx_get_ts_info
_ixp4xx_get_ts_info:                    ; @ixp4xx_get_ts_info
	.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, x1
	bl	_cpu_is_ixp46x
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh9:
	adrp	x8, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh12:
	adrp	x10, _HWTSTAMP_TX_ON@GOTPAGE
Lloh13:
	ldr	x10, [x10, _HWTSTAMP_TX_ON@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w10, w9, w10
Lloh15:
	adrp	x11, _HWTSTAMP_FILTER_NONE@GOTPAGE
Lloh16:
	ldr	x11, [x11, _HWTSTAMP_FILTER_NONE@GOTPAGEOFF]
	orr	w10, w10, w8
Lloh17:
	ldr	w8, [x11]
	lsl	w8, w9, w8
Lloh18:
	adrp	x11, _HWTSTAMP_FILTER_PTP_V1_L4_SYNC@GOTPAGE
Lloh19:
	ldr	x11, [x11, _HWTSTAMP_FILTER_PTP_V1_L4_SYNC@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	lsl	w11, w9, w11
	orr	w11, w11, w8
Lloh21:
	adrp	x8, _HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	lsl	w9, w9, w8
Lloh24:
	adrp	x8, _ixp46x_phc_index@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ixp46x_phc_index@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w9, w11, w9
	stp	w10, w9, [x19, #8]
	b	LBB0_3
LBB0_2:
Lloh27:
	adrp	x8, _SOF_TIMESTAMPING_TX_SOFTWARE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SOF_TIMESTAMPING_TX_SOFTWARE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _SOF_TIMESTAMPING_RX_SOFTWARE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SOF_TIMESTAMPING_RX_SOFTWARE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _SOF_TIMESTAMPING_SOFTWARE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SOF_TIMESTAMPING_SOFTWARE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	w8, #-1
LBB0_3:
	str	w8, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_SOF_TIMESTAMPING_TX_SOFTWARE,4,2 ; @SOF_TIMESTAMPING_TX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_RX_SOFTWARE,4,2 ; @SOF_TIMESTAMPING_RX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_SOFTWARE,4,2  ; @SOF_TIMESTAMPING_SOFTWARE
	.comm	_SOF_TIMESTAMPING_TX_HARDWARE,4,2 ; @SOF_TIMESTAMPING_TX_HARDWARE
	.comm	_SOF_TIMESTAMPING_RX_HARDWARE,4,2 ; @SOF_TIMESTAMPING_RX_HARDWARE
	.comm	_SOF_TIMESTAMPING_RAW_HARDWARE,4,2 ; @SOF_TIMESTAMPING_RAW_HARDWARE
	.comm	_ixp46x_phc_index,4,2           ; @ixp46x_phc_index
	.comm	_HWTSTAMP_TX_OFF,4,2            ; @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_TX_ON,4,2             ; @HWTSTAMP_TX_ON
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ; @HWTSTAMP_FILTER_NONE
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_SYNC,4,2 ; @HWTSTAMP_FILTER_PTP_V1_L4_SYNC
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ,4,2 ; @HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ
	.no_dead_strip	_ixp4xx_get_ts_info
.subsections_via_symbols
