	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_output_format_set_type    ## -- Begin function ldns_output_format_set_type
	.p2align	4, 0x90
_ldns_output_format_set_type:           ## @ldns_output_format_set_type
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	_LDNS_FMT_RFC3597@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_ldns_output_format_set
LBB0_2:
	movl	4(%rbx), %edi
	testl	%edi, %edi
	jne	LBB0_5
## %bb.3:
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_ldns_rdf_bitmap_known_rr_types_space
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	(%rbx), %edi
LBB0_5:
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ldns_nsec_bitmap_set_type      ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_FMT_RFC3597,4,2           ## @LDNS_FMT_RFC3597
	.comm	_LDNS_STATUS_OK,8,3             ## @LDNS_STATUS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_output_format_set_type    ; -- Begin function ldns_output_format_set_type
	.p2align	2
_ldns_output_format_set_type:           ; @ldns_output_format_set_type
	.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
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _LDNS_FMT_RFC3597@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LDNS_FMT_RFC3597@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	tst	w1, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x20, #4]!
	cbnz	w0, LBB0_5
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_ldns_output_format_set
	ldr	w0, [x20, #4]!
	cbnz	w0, LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_ldns_rdf_bitmap_known_rr_types_space
Lloh3:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x20]
LBB0_5:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ldns_nsec_bitmap_set_type
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_FMT_RFC3597,4,2           ; @LDNS_FMT_RFC3597
	.comm	_LDNS_STATUS_OK,8,3             ; @LDNS_STATUS_OK
.subsections_via_symbols
